mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
fix core daos
This commit is contained in:
@@ -487,7 +487,7 @@ def dao_update_notifications_by_reference(references, update_dict):
|
|||||||
updated_history_count = 0
|
updated_history_count = 0
|
||||||
if updated_count != len(references):
|
if updated_count != len(references):
|
||||||
stmt = (
|
stmt = (
|
||||||
select(NotificationHistory)
|
update(NotificationHistory)
|
||||||
.filter(NotificationHistory.reference.in_(references))
|
.filter(NotificationHistory.reference.in_(references))
|
||||||
.values(update_dict)
|
.values(update_dict)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user