Add reply_to in the template schema

This commit is contained in:
Rebecca Law
2018-01-03 15:10:16 +00:00
parent 577fe623b0
commit 8732506138
2 changed files with 5 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ def get_template_by_id_and_service_id(service_id, template_id):
def preview_template_by_id_and_service_id(service_id, template_id):
fetched_template = dao_get_template_by_id_and_service_id(template_id=template_id, service_id=service_id)
data = template_schema.dump(fetched_template).data
print(data)
template_object = get_template_instance(data, values=request.args.to_dict())
if template_object.missing_data: