mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-16 10:12:32 -05:00
Make template id a string in the json messge
This commit is contained in:
@@ -159,7 +159,7 @@ def send_user_email_verification(user_id):
|
|||||||
|
|
||||||
template = dao_get_template_by_id(current_app.config['EMAIL_VERIFY_CODE_TEMPLATE_ID'])
|
template = dao_get_template_by_id(current_app.config['EMAIL_VERIFY_CODE_TEMPLATE_ID'])
|
||||||
message = {
|
message = {
|
||||||
'template': template.id,
|
'template': str(template.id),
|
||||||
'template_version': template.version,
|
'template_version': template.version,
|
||||||
'to': user_to_send_to.email_address,
|
'to': user_to_send_to.email_address,
|
||||||
'personalisation': {
|
'personalisation': {
|
||||||
|
|||||||
Reference in New Issue
Block a user