mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-15 07:01:20 -05:00
remove print statements
This commit is contained in:
@@ -304,13 +304,10 @@ def get_notifications_for_service(
|
||||
querie = querie.options(joinedload(Notification.template))
|
||||
|
||||
querie = querie.order_by(desc(Notification.created_at))
|
||||
print(f"QUERIE IS {querie}")
|
||||
results = db.session.execute(querie).scalars().all()
|
||||
print(f"RESULTS ARE {results}")
|
||||
offset = (page - 1) * page_size
|
||||
paginated_results = results[offset : offset + page_size]
|
||||
pagination = Pagination(paginated_results, page, page_size, len(results))
|
||||
print(f"PAGINATION IS {pagination}")
|
||||
return pagination
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user