mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 18:52:30 -05:00
fix notification provider clients
This commit is contained in:
@@ -99,7 +99,9 @@ encryption = None
|
|||||||
zendesk_client = None
|
zendesk_client = None
|
||||||
redis_store = RedisClient()
|
redis_store = RedisClient()
|
||||||
document_download_client = None
|
document_download_client = None
|
||||||
notification_provider_clients = None
|
|
||||||
|
|
||||||
|
notification_provider_clients = NotificationProviderClients()
|
||||||
|
|
||||||
# LocalProxy doesn't evaluate the target immediately, but defers
|
# LocalProxy doesn't evaluate the target immediately, but defers
|
||||||
# resolution to runtime. So there is no monkeypatching concern.
|
# resolution to runtime. So there is no monkeypatching concern.
|
||||||
@@ -218,7 +220,6 @@ def create_app(application):
|
|||||||
aws_sns_client.init_app(application)
|
aws_sns_client.init_app(application)
|
||||||
encryption = Encryption()
|
encryption = Encryption()
|
||||||
encryption.init_app(application)
|
encryption.init_app(application)
|
||||||
notification_provider_clients = NotificationProviderClients()
|
|
||||||
# If a stub url is provided for SES, then use the stub client rather than the real SES boto client
|
# If a stub url is provided for SES, then use the stub client rather than the real SES boto client
|
||||||
email_clients = (
|
email_clients = (
|
||||||
[aws_ses_stub_client]
|
[aws_ses_stub_client]
|
||||||
|
|||||||
Reference in New Issue
Block a user