mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
Added a template_type to the rest call
Added a template type which is required for the admin UI and updated the tests. The rest tests needed updated because of the bug fix for aggregation.
This commit is contained in:
@@ -34,6 +34,7 @@ def dao_get_template_usage_stats_by_service(service_id, year):
|
||||
return db.session.query(
|
||||
StatsTemplateUsageByMonth.template_id,
|
||||
Template.name,
|
||||
Template.template_type,
|
||||
StatsTemplateUsageByMonth.month,
|
||||
StatsTemplateUsageByMonth.year,
|
||||
StatsTemplateUsageByMonth.count
|
||||
|
||||
Reference in New Issue
Block a user