Skip to content

Commit

Permalink
Merge pull request #23 from DostEducation/develop
Browse files Browse the repository at this point in the history
Release v2.1
  • Loading branch information
Satendra-SR committed Dec 21, 2021
2 parents 6f3e821 + ffc1c98 commit 76cad47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/services/handle_event_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def handle_event_service(self, form_data):
"""PickTime is available only when the call is answered.
The telco code for answered calls is 16.
"""
if form_data["TelcoCode"] == app.config["TELCO_CODE_ANSWERED"]:
if form_data["TelcoCode"] == str(app.config["TELCO_CODE_ANSWERED"]):
data["pick_time"] = form_data["PickTime"]

call_log_event.CallLogEventService.create_call_log_event(self, data)
Expand Down

0 comments on commit 76cad47

Please sign in to comment.