Skip to content

Commit

Permalink
Update hustle.py (move-coop#408)
Browse files Browse the repository at this point in the history
* Update hustle.py

* f string
  • Loading branch information
elyse-weiss authored Sep 22, 2020
1 parent 93839b0 commit df9d7d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion parsons/hustle/hustle.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ def update_lead(self, lead_id, first_name=None, last_name=None, email=None,
The notes for the lead
follow_up: str
Follow up for the lead
tag_ids: list
Tags to apply to lead
`Returns:`
dict
"""
Expand All @@ -459,7 +461,7 @@ def update_lead(self, lead_id, first_name=None, last_name=None, email=None,
# Remove empty args in dictionary
lead = json_format.remove_empty_keys(lead)

logger.info('Updating lead for {first_name} {last_name}.')
logger.info(f'Updating lead for {first_name} {last_name}.')
return self._request(f'leads/{lead_id}', req_type="PUT", payload=lead)

def get_tags(self, organization_id):
Expand Down

0 comments on commit df9d7d9

Please sign in to comment.