From f5d8cf53be47eeaa050bab4e80bb68a64153f338 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 21 Jan 2026 09:22:03 -0800 Subject: [PATCH] fix message ratio --- app/cloudfoundry_config.py | 4 ++-- app/dao/notifications_dao.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/cloudfoundry_config.py b/app/cloudfoundry_config.py index 0af4ac63c..602ee98fd 100644 --- a/app/cloudfoundry_config.py +++ b/app/cloudfoundry_config.py @@ -9,8 +9,8 @@ class CloudfoundryConfig: self.s3_buckets = {bucket["name"]: bucket["credentials"] for bucket in buckets} self._empty_bucket_credentials = { "bucket": "", - "access_key_id": "", # nosec B105 - "secret_access_key": "", # nosec B105 + "access_key_id": "", # nosec B105 + "secret_access_key": "", # nosec B105 "region": "", } diff --git a/app/dao/notifications_dao.py b/app/dao/notifications_dao.py index 3588e9000..04d79d7f4 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, 6, 16) - end_date = datetime(current_year + 1, 6, 16) + start_date = datetime(current_year, 1, 1) + end_date = datetime(current_year + 1, 1, 1) stmt1 = ( select(func.count()) .select_from(Notification)