Hotfix: Resubmission mail

* fixes resubmission mail recipient
This commit is contained in:
mpeltriaux 2022-12-05 06:55:35 +01:00
parent 821141f2a8
commit e4305ad9e7

View File

@ -429,7 +429,7 @@ class Mailer:
"EMAIL_REPLY_TO": EMAIL_REPLY_TO, "EMAIL_REPLY_TO": EMAIL_REPLY_TO,
} }
msg = render_to_string("email/resubmission/resubmission.html", context) msg = render_to_string("email/resubmission/resubmission.html", context)
user_mail_address = [SUPPORT_MAIL_RECIPIENT] user_mail_address = [resubmission.user.email]
self.send( self.send(
user_mail_address, user_mail_address,
_("Resubmission - {}").format(obj_identifier), _("Resubmission - {}").format(obj_identifier),