fix core daos

This commit is contained in:
Kenneth Kehl
2024-10-11 10:38:28 -07:00
parent 84e46f1ef2
commit ef6e4048c2

View File

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