From d8bb71bf39eaae872d8d1cc195de7b9f376115e9 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 11 Oct 2024 09:47:00 -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 ca1646467..d1c0d7202 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -487,7 +487,7 @@ def dao_update_notifications_by_reference(references, update_dict): updated_history_count = 0 if updated_count != len(references): stmt = ( - select(NotificationHistory) + update(NotificationHistory) .filter(NotificationHistory.reference.in_(references)) .values(update_dict) )