Explorar o código

fix send_test_email_alias

Son NK %!s(int64=5) %!d(string=hai) anos
pai
achega
0b9f28970f
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      app/dashboard/views/index.py

+ 1 - 3
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",