Skip to content

Commit

Permalink
Merge pull request #277 from bcgov/email2
Browse files Browse the repository at this point in the history
fixed bug of email not being sent-wrong intendation
  • Loading branch information
sumesh-aot authored Dec 2, 2019
2 parents bc9d251 + 0032084 commit a0cb7d0
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 a0cb7d0

Please sign in to comment.