From 51bfd2eab030bd789dfb7e3c0d3defd3cc76c1f9 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 21 Jan 2026 09:23:16 -0800 Subject: [PATCH] fix message ratio --- app/dao/notifications_dao.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dao/notifications_dao.py b/app/dao/notifications_dao.py index 04d79d7f4..e32312073 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -308,8 +308,8 @@ def dao_get_notification_count_for_service(*, service_id): def dao_get_notification_count_for_service_message_ratio(service_id, current_year): - start_date = datetime(current_year, 1, 1) - end_date = datetime(current_year + 1, 1, 1) + start_date = datetime(current_year - 1, 6, 16) + end_date = datetime(current_year, 6, 16) stmt1 = ( select(func.count()) .select_from(Notification)