Skip to content

Commit

Permalink
Small tweak for account name, not showing up in email (#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Feb 28, 2024
1 parent fa83cab commit db34a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _get_account_unlock_email(email_msg):
filled_template = generate_template(current_app.config.get('TEMPLATE_PATH'), email_msg.get('template_name'))
jnja_template = Template(filled_template, autoescape=True)
html_out = jnja_template.render(
account_name=email_msg.get('accountName'),
account_name=email_msg.get('account_name'),
logo_url=email_msg.get('logo_url')
)
return html_out
Expand Down
1 change: 1 addition & 0 deletions queue_services/account-mailer/src/account_mailer/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ async def process_event(event_message: dict, flask_app):
'subject': subject,
'org_id': org_id,
'admin_coordinator_emails': admin_coordinator_emails,
'account_name': email_msg.get('accountName')
}

email_dict = account_unlock.process(data=email_dict, token=token)
Expand Down

0 comments on commit db34a92

Please sign in to comment.