fixed template name

This commit is contained in:
Oliver Zander 2025-10-21 15:35:12 +02:00
parent 864df9613a
commit a750f0d7d2
1 changed files with 1 additions and 1 deletions

View File

@ -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' decision_label = 'bewilligt' if obj.granted else 'abgelehnt'
subject = subject.format(name=obj.name, decision=decision_label) 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): def send_applicant_decision_mail(obj: Project):