mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 22:39:43 -04:00
Merge pull request #58 from alphagov/send_verify_code_email_bug_fix
Bug fixed for posting the correct type of notification to the aws queue.
This commit is contained in:
@@ -149,7 +149,7 @@ def send_user_code(user_id):
|
|||||||
'from_address': 'notify@digital.cabinet-office.gov.uk',
|
'from_address': 'notify@digital.cabinet-office.gov.uk',
|
||||||
'subject': 'Verification code',
|
'subject': 'Verification code',
|
||||||
'body': secret_code}
|
'body': secret_code}
|
||||||
add_notification_to_queue(api_user['client'], 'admin', 'sms', notification)
|
add_notification_to_queue(api_user['client'], 'admin', 'email', notification)
|
||||||
notify_alpha_client.send_email(
|
notify_alpha_client.send_email(
|
||||||
email,
|
email,
|
||||||
secret_code,
|
secret_code,
|
||||||
|
|||||||
Reference in New Issue
Block a user