mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Updated schema to remove redundant 'content'
This commit is contained in:
@@ -73,7 +73,7 @@ def create_post_template_preview_response(template, body, url_root):
|
||||
"id": template.id,
|
||||
"type": template.template_type,
|
||||
"version": template.version,
|
||||
"content": {'body': body},
|
||||
"body": body,
|
||||
"subject": template.subject,
|
||||
"uri": "{}v2/template/{}/preview".format(url_root, template.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user