From a4f0ff744014fb1fc7d872ef16f8cf9fbd2e6763 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 10 Oct 2024 12:38:23 -0700 Subject: [PATCH] fix delete --- 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 cabd991d3..d08a69885 100644 --- a/app/dao/services_dao.py +++ b/app/dao/services_dao.py @@ -732,7 +732,7 @@ def dao_fetch_todays_stats_for_all_services( if only_active: stmt = stmt.filter(Service.active) - return db.session.execute(stmt).scalars().all() + return db.session.execute(stmt).all() @autocommit