mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-04 13:48:26 -04:00
Refactored to use template response as template
This commit is contained in:
@@ -14,6 +14,8 @@ def get_templates():
|
||||
|
||||
templates = templates_dao.dao_get_all_templates_for_service(api_user.service_id)
|
||||
|
||||
print(templates)
|
||||
|
||||
return jsonify(
|
||||
templates=[template.serialize() for template in templates]
|
||||
), 200
|
||||
|
||||
Reference in New Issue
Block a user