mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-02 15:19:57 -04:00
Merge pull request #2924 from alphagov/add-contact-block-to-serialize-template
Add contact block to serialize template for v2
This commit is contained in:
@@ -1009,6 +1009,7 @@ class TemplateBase(db.Model):
|
||||
for key in self._as_utils_template().placeholders
|
||||
},
|
||||
"postage": self.postage,
|
||||
"letter_contact_block": self.service_letter_contact.contact_block if self.service_letter_contact else None,
|
||||
}
|
||||
|
||||
return serialized
|
||||
|
||||
Reference in New Issue
Block a user