Skip to content

Commit

Permalink
fix get contact method
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaslavskiy committed Jan 24, 2024
1 parent 4ec5d1c commit 7204423
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qualtrix/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def get_response(survey_id: str, response_id: str):
return survey_answers


def get_contact(contact_id: str):
logging.info(f"get_contact {contact_id}")
def get_contact_by_id(contact_id: str):
logging.info(f"get_contact_by_id {contact_id}")

r = requests.get(
settings.BASE_URL
Expand All @@ -242,8 +242,8 @@ def get_contact(contact_id: str):
timeout=settings.TIMEOUT,
)

logging.info(f"get_contact {contact_id} {r.status_code}")
logging.debug(f"get_contact {contact_id} {r.text}")
logging.info(f"get_contact_by_id {contact_id} {r.status_code}")
logging.debug(f"get_contact_by_id {contact_id} {r.text}")

return r.json()

Expand Down

0 comments on commit 7204423

Please sign in to comment.