fix core daos

This commit is contained in:
Kenneth Kehl
2024-10-11 09:47:00 -07:00
parent 90b407241f
commit d8bb71bf39

View File

@@ -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)
)