mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-30 06:09:58 -04:00
code review feedback
This commit is contained in:
@@ -98,6 +98,7 @@ def create_app(application):
|
||||
aws_ses_stub_client.init_app(
|
||||
stub_url=application.config['SES_STUB_URL']
|
||||
)
|
||||
aws_cloudwatch_client.init_app(application)
|
||||
# If a stub url is provided for SES, then use the stub client rather than the real SES boto client
|
||||
email_clients = [aws_ses_stub_client] if application.config['SES_STUB_URL'] else [aws_ses_client]
|
||||
notification_provider_clients.init_app(
|
||||
|
||||
Reference in New Issue
Block a user