mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 16:43:11 -04:00
Removed URI from preview response
This commit is contained in:
@@ -68,12 +68,11 @@ post_template_preview_response = {
|
||||
}
|
||||
|
||||
|
||||
def create_post_template_preview_response(template, body, url_root):
|
||||
def create_post_template_preview_response(template, body):
|
||||
return {
|
||||
"id": template.id,
|
||||
"type": template.template_type,
|
||||
"version": template.version,
|
||||
"body": body,
|
||||
"subject": template.subject,
|
||||
"uri": "{}v2/template/{}/preview".format(url_root, template.id)
|
||||
"subject": template.subject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user