Make template id a string in the json messge

This commit is contained in:
Rebecca Law
2016-06-10 17:19:10 +01:00
parent cfd31541f4
commit 877fd6fdc4

View File

@@ -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'])
message = {
'template': template.id,
'template': str(template.id),
'template_version': template.version,
'to': user_to_send_to.email_address,
'personalisation': {