Updated schema to remove redundant 'content'

This commit is contained in:
Ken Tsang
2017-03-23 11:50:15 +00:00
parent 41f82c0aef
commit 50db538df7
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
}