This commit is contained in:
Kenneth Kehl
2024-12-13 09:48:48 -08:00
parent 26e53a80ba
commit f706086bbf
3 changed files with 3 additions and 5 deletions

View File

@@ -114,7 +114,7 @@ def update_notification_message_id(notification_id, message_id):
stmt = (
update(Notification)
.where(Notification.id == notification_id)
.values({"message_id": message_id})
.values(message_id=message_id)
)
db.session.execute(stmt)
db.session.commit()