ensure template history serializes using template serialize fn

This commit is contained in:
Leo Hemsted
2017-08-09 12:24:35 +01:00
parent c9762f75a1
commit da02ffa32f
4 changed files with 10 additions and 18 deletions

View File

@@ -18,5 +18,4 @@ def get_template_by_id(template_id, version=None):
template = templates_dao.dao_get_template_by_id_and_service_id(
template_id, authenticated_service.id, data.get('version'))
return jsonify(template.serialize()), 200