mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 20:23:13 -04:00
Refactor is_precompiled_letter to model
This commit is contained in:
@@ -35,9 +35,9 @@ def insert_or_update_stats_for_template(template_id, month, year, count):
|
||||
def dao_get_template_usage_stats_by_service(service_id, year):
|
||||
return db.session.query(
|
||||
StatsTemplateUsageByMonth.template_id,
|
||||
Template.hidden,
|
||||
Template.name,
|
||||
Template.template_type,
|
||||
Template.is_precompiled_letter,
|
||||
StatsTemplateUsageByMonth.month,
|
||||
StatsTemplateUsageByMonth.year,
|
||||
StatsTemplateUsageByMonth.count
|
||||
|
||||
Reference in New Issue
Block a user