From 0b9f28970f96ca138b9cdafe9da8788c9b22ad2f Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 16 Nov 2019 15:33:51 +0100 Subject: [PATCH] fix send_test_email_alias --- app/dashboard/views/index.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/dashboard/views/index.py b/app/dashboard/views/index.py index a553613c..fdc82a13 100644 --- a/app/dashboard/views/index.py +++ b/app/dashboard/views/index.py @@ -27,9 +27,7 @@ def index(): gen_email = GenEmail.get(gen_email_id) LOG.d("trigger an email to %s", gen_email) - email_utils.send_test_email_alias( - gen_email.email, gen_email.user.name, gen_email.email - ) + email_utils.send_test_email_alias(gen_email.email, gen_email.user.name) flash( f"An email sent to {gen_email.email} is on its way, please check your inbox/spam folder",