mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-26 09:13:40 -04:00
Remove reference to template.template_type for the stats update query.
Removes a query during the stats update.
This commit is contained in:
@@ -213,7 +213,7 @@ def _update_statistics(notification, notification_statistics_status):
|
|||||||
day=notification.created_at.date(),
|
day=notification.created_at.date(),
|
||||||
service_id=notification.service_id
|
service_id=notification.service_id
|
||||||
).update(
|
).update(
|
||||||
_update_notification_stats_query(notification.template.template_type, notification_statistics_status)
|
_update_notification_stats_query(notification.notification_type, notification_statistics_status)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user