mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
fixed empty callback dict problem
This commit is contained in:
@@ -161,8 +161,8 @@ def api_callbacks(service_id):
|
||||
|
||||
return render_template(
|
||||
'views/api/callbacks.html',
|
||||
received_text_messages_callback=received_text_messages_callback.get('url', "Not Set"),
|
||||
delivery_status_callback=delivery_status_callback.get('url', "Not Set")
|
||||
received_text_messages_callback=received_text_messages_callback['url'] if received_text_messages_callback else None,
|
||||
delivery_status_callback=delivery_status_callback['url'] if delivery_status_callback else None
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user