From ef6e4048c27368c7dd5914203cbcfe47e84919d5 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 11 Oct 2024 10:38:28 -0700 Subject: [PATCH] fix core daos --- app/dao/notifications_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dao/notifications_dao.py b/app/dao/notifications_dao.py index e93f59e28..8659fca9b 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -628,7 +628,7 @@ def notifications_not_yet_sent(should_be_sending_after_seconds, notification_typ Notification.notification_type == notification_type, Notification.status == NotificationStatus.CREATED, ) - notifications = db.session.execute(stmt).all() + notifications = db.session.execute(stmt).scalars().all() print(f"WE RETURN THIS FOR NOTIFICATIONS {notifications}") return notifications