implement SNS

This commit is contained in:
Jim Moffet
2022-06-17 11:16:23 -07:00
parent 79ba6cc1d1
commit aa4ec532a4
17 changed files with 218 additions and 351 deletions

View File

@@ -168,7 +168,8 @@ provider_cache = TTLCache(maxsize=8, ttl=10)
@cached(cache=provider_cache)
def provider_to_use(notification_type, international=False):
def provider_to_use(notification_type, international=True):
international = True # TODO: remove or resolve the functionality of this
active_providers = [
p for p in get_provider_details_by_notification_type(notification_type, international) if p.active
]