From 0032084a19641de02e0ea8984710d090f557baa6 Mon Sep 17 00:00:00 2001 From: saravankumarpa Date: Mon, 2 Dec 2019 14:40:33 -0800 Subject: [PATCH] fixed bug of email not being sent-wrong intendation --- auth-api/src/auth_api/services/membership.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-api/src/auth_api/services/membership.py b/auth-api/src/auth_api/services/membership.py index 0cbe15adab..1b5fc72251 100644 --- a/auth-api/src/auth_api/services/membership.py +++ b/auth-api/src/auth_api/services/membership.py @@ -122,8 +122,8 @@ def run_job(): send_email(subject, sender, self._model.user.contacts[0].contact.email, template.render(url=app_url, org_name=org_name, logo_url=f'{app_url}/{CONFIG.REGISTRIES_LOGO_IMAGE_NAME}')) - thread = Thread(target=run_job) - thread.start() + thread = Thread(target=run_job) + thread.start() current_app.logger.debug('