Merge pull request #346 from sartography/bug/346_timer_fails_to_send_email

fixes #346, allow emails to fire in scheduled events
This commit is contained in:
Dan Funk 2021-07-22 13:40:12 -04:00 committed by GitHub
commit 61504664d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -68,4 +68,5 @@ class EmailService(object):
@staticmethod
def get_cr_connect_wrapper(email_body):
return render_template('mail_content_template.html', email_body=email_body, base_url=request.base_url)
base_url = app.config['FRONTEND'] # The frontend url
return render_template('mail_content_template.html', email_body=email_body, base_url=base_url)