Skip to content

Commit

Permalink
fixed bug of email not being sent-wrong intendation
Browse files Browse the repository at this point in the history
  • Loading branch information
saravankumarpa committed Dec 2, 2019
1 parent bc9d251 commit 0032084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth-api/src/auth_api/services/membership.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('<send_approval_notification_to_member')
except: # noqa: E722
Expand Down

0 comments on commit 0032084

Please sign in to comment.