mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Fix bug
This commit is contained in:
parent
245150ad32
commit
d120f31581
4 changed files with 7 additions and 7 deletions
|
@ -765,7 +765,7 @@ class DomainRequest(TimeStampedModel):
|
|||
# Assumes that the template name matches the action needed reason if nothing is specified.
|
||||
# This is so you can override if you need, or have this taken care of for you.
|
||||
if not email_template_name and not email_template_subject_name:
|
||||
reason = self.action_needed_reason.value
|
||||
reason = self.action_needed_reason
|
||||
email_template_name = f"{reason}.txt"
|
||||
email_template_subject_name = f"{reason}_subject.txt"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue