Skip to content

Commit

Permalink
fix: added webhook verify token in status updater url
Browse files Browse the repository at this point in the history
shariquerik committed Jan 20, 2025
1 parent 71bb1bb commit 3f75d6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crm/integrations/exotel/handler.py
Original file line number Diff line number Diff line change
@@ -153,7 +153,8 @@ def get_all_exophones():
def get_status_updater_url():
from frappe.utils.data import get_url

return get_url("api/method/crm.integrations.exotel.handler.handle_request")
webhook_verify_token = frappe.db.get_single_value("CRM Exotel Settings", "webhook_verify_token")
return get_url(f"api/method/crm.integrations.exotel.handler.handle_request?key={webhook_verify_token}")


def get_exotel_settings():

0 comments on commit 3f75d6a

Please sign in to comment.