From 76dc06cc6bf19e7dc2879517fd0070f25139fd99 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 19 Nov 2024 12:17:32 -0800 Subject: [PATCH] fix notifications --- 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 b63489043..ead5591a9 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -305,7 +305,7 @@ def get_notifications_for_service( querie = querie.order_by(desc(Notification.created_at)) print(f"QUERIE IS {querie}") - results = db.session.execute(querie).scalars() + results = db.session.execute(querie).scalars().all() print(f"RESULTS ARE {results}") page_size = current_app.config["PAGE_SIZE"] offset = (page - 1) * page_size