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('