mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
fix notifications
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user