mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 22:42:28 -05:00
uploads
This commit is contained in:
@@ -142,7 +142,7 @@ def dao_get_uploads_by_service_id(service_id, limit_days=None, page=1, page_size
|
||||
desc("processing_started"), desc("created_at")
|
||||
)
|
||||
|
||||
results = db.session.execute(stmt).scalars().all()
|
||||
results = db.session.execute(stmt).all()
|
||||
page_size = current_app.config["PAGE_SIZE"]
|
||||
offset = (page - 1) * page_size
|
||||
paginated_results = results[offset : offset + page_size]
|
||||
|
||||
Reference in New Issue
Block a user