From a750f0d7d2ebf8661ecb3ad7de5f92fd20428c1f Mon Sep 17 00:00:00 2001 From: Oliver Zander Date: Tue, 21 Oct 2025 15:35:12 +0200 Subject: [PATCH] fixed template name --- input/utils/mail/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/utils/mail/__init__.py b/input/utils/mail/__init__.py index 32de5dd..909951c 100644 --- a/input/utils/mail/__init__.py +++ b/input/utils/mail/__init__.py @@ -57,7 +57,7 @@ def send_base_decision_mail(obj: Project, scope: str, subject: str, recipient: s decision_label = 'bewilligt' if obj.granted else 'abgelehnt' subject = subject.format(name=obj.name, decision=decision_label) - return send_email(f'approval_{scope}_{decision}', context, subject, recipient) + return send_email(f'approval_{decision}_{scope}', context, subject, recipient) def send_applicant_decision_mail(obj: Project):