mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Body of notification without placeholder should have been present.
This commit is contained in:
@@ -272,6 +272,8 @@ class NotificationStatusSchema(BaseSchema):
|
||||
if in_data['template']['template_type'] == 'email':
|
||||
in_data['subject'] = template.replaced_subject
|
||||
in_data.pop('personalisation', None)
|
||||
else:
|
||||
in_data['body'] = in_data['template']['content']
|
||||
in_data['template'].pop('content', None)
|
||||
in_data['template'].pop('subject', None)
|
||||
return in_data
|
||||
|
||||
Reference in New Issue
Block a user