mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-16 10:12:32 -05:00
Add template hidden field in response
This commit is contained in:
@@ -47,7 +47,8 @@ def get_template_statistics_for_service_by_day(service_id):
|
||||
'count': data.count,
|
||||
'template_id': str(data.template_id),
|
||||
'template_name': data.name,
|
||||
'template_type': data.template_type
|
||||
'template_type': data.template_type,
|
||||
'template_hidden': data.hidden
|
||||
}
|
||||
|
||||
return jsonify(data=[serialize(row) for row in stats])
|
||||
|
||||
Reference in New Issue
Block a user