mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Handle case where provider does not have international flag
This commit is contained in:
@@ -20,7 +20,7 @@ def view_providers():
|
||||
for provider in providers:
|
||||
if provider['notification_type'] == 'sms':
|
||||
domestic_sms_providers.append(provider)
|
||||
if provider['supports_international']:
|
||||
if provider.get('supports_international', None):
|
||||
intl_sms_providers.append(provider)
|
||||
elif provider['notification_type'] == 'email':
|
||||
domestic_email_providers.append(provider)
|
||||
|
||||
Reference in New Issue
Block a user