From 162823e59bf896b9b10393881f02e899b3ac35d5 Mon Sep 17 00:00:00 2001 From: Cliff Hill Date: Fri, 10 Jan 2025 14:46:59 -0500 Subject: [PATCH] Query fixing. Signed-off-by: Cliff Hill --- app/dao/services_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dao/services_dao.py b/app/dao/services_dao.py index 41e920cf5..e9171d1fc 100644 --- a/app/dao/services_dao.py +++ b/app/dao/services_dao.py @@ -457,7 +457,7 @@ def dao_fetch_stats_for_service_from_days(service_id, start_date, end_date): # Getting the total notifications through this query. - total_stmt = select( + total_stmt = ( select( cast(Job.notification_count, Integer).label( "notification_count"