Skip to content

Commit

Permalink
Updated variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachinbisht27 committed Aug 13, 2024
1 parent 11835c7 commit ad74a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/services/handle_event_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ def handle_event_service(self, form_data):
if not system_phone_exists:
return

user_details_exist = form_data.get("From")
user_details = form_data.get("From")

if user_details_exist is None:
if user_details is None:
logger.warning(
f"User details are missing in the webhook payload: {form_data}"
)
Expand Down

0 comments on commit ad74a9c

Please sign in to comment.