From 3ce05b5a73ce398b1062d59d6e25a89b962777d6 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Fri, 19 Apr 2024 11:11:33 +0200
Subject: [PATCH] fix wrong email subject  for refereeing reminder

---
 scipost_django/submissions/utils.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scipost_django/submissions/utils.py b/scipost_django/submissions/utils.py
index d502d52a8..a7a387ad6 100644
--- a/scipost_django/submissions/utils.py
+++ b/scipost_django/submissions/utils.py
@@ -404,13 +404,12 @@ class SubmissionUtils(BaseMailUtil):
             "deadline": datetime.datetime.strftime(
                 cls.invitation.submission.reporting_deadline, "%Y-%m-%d"
             ),
-            "invitation_key": cls.invitation.invitation_key,
         }
         email_text_html += "<br/>" + EMAIL_FOOTER
         html_template = Template(email_text_html)
         html_version = html_template.render(Context(email_context))
         emailmessage = EmailMultiAlternatives(
-            "SciPost: reminder (refereeing request and registration invitation)",
+            "SciPost: reminder (refereeing request)",
             email_text,
             f"SciPost Refereeing <refereeing@{domain}>",
             [cls.invitation.email_address],
-- 
GitLab