From 72c920d70737b4b2bf52f13883c3852eef396303 Mon Sep 17 00:00:00 2001 From: Daniel Grams Date: Tue, 4 Jul 2023 23:44:38 +0200 Subject: [PATCH] Fix send mail async in admin #515 --- project/views/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/views/utils.py b/project/views/utils.py index 24e4b57..21f1e51 100644 --- a/project/views/utils.py +++ b/project/views/utils.py @@ -173,7 +173,7 @@ def send_mails(recipients, subject, template, **context): def send_mail_async(recipient, subject, template, **context): - send_mails_async([recipient], subject, template, **context) + return send_mails_async([recipient], subject, template, **context) def send_mails_async(recipients, subject, template, **context):