mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-30 11:18:54 -04:00
If template has a default address use that address ELSE the address is blank.
This commit is contained in:
@@ -635,8 +635,6 @@ class TemplateBase(db.Model):
|
||||
if self.template_type == LETTER_TYPE:
|
||||
if self.service_letter_contact_id is not None:
|
||||
return self.service_letter_contact.contact_block
|
||||
else:
|
||||
return self.service.get_default_letter_contact()
|
||||
elif self.template_type == EMAIL_TYPE:
|
||||
return self.service.get_default_reply_to_email_address()
|
||||
elif self.template_type == SMS_TYPE:
|
||||
|
||||
Reference in New Issue
Block a user