mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05: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(),
|
||||
service_id=notification.service_id
|
||||
).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