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:
commit
61504664d4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue