From a7897f791055a187db9a29adec3d79025aaab6ba Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 5 Dec 2022 06:55:35 +0100 Subject: [PATCH] Hotfix: Resubmission mail * fixes resubmission mail recipient --- konova/utils/mailer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konova/utils/mailer.py b/konova/utils/mailer.py index 65bbbe61..5c25d84b 100644 --- a/konova/utils/mailer.py +++ b/konova/utils/mailer.py @@ -429,7 +429,7 @@ class Mailer: "EMAIL_REPLY_TO": EMAIL_REPLY_TO, } msg = render_to_string("email/resubmission/resubmission.html", context) - user_mail_address = [SUPPORT_MAIL_RECIPIENT] + user_mail_address = [resubmission.user.email] self.send( user_mail_address, _("Resubmission - {}").format(obj_identifier),