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):