From 572ac772e9f4615c327b9c76cd86c0bd60099052 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 3 Aug 2019 17:21:02 +0200 Subject: [PATCH] fix --- app/email_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/email_utils.py b/app/email_utils.py index 3ddbba05..feb5e9bb 100644 --- a/app/email_utils.py +++ b/app/email_utils.py @@ -31,7 +31,7 @@ def send(to_email, subject, html_content, plain_content=None): LOG.d("sendgrid res:%s, email:%s", response.status_code, to_email) -def notify_admin(subject, html_content): +def notify_admin(subject, html_content=""): send( SUPPORT_EMAIL, subject,