mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-18 16:19:36 -04:00
fix test
This commit is contained in:
@@ -270,6 +270,7 @@ def get_notifications_for_job(
|
||||
def get_recent_notifications_for_job(
|
||||
service_id, job_id, filter_dict=None, page=1, page_size=None
|
||||
):
|
||||
print(f"FILTER_DICT AT DAO LEVEL {filter_dict}")
|
||||
if page_size is None:
|
||||
page_size = current_app.config["PAGE_SIZE"]
|
||||
|
||||
|
||||
@@ -128,6 +128,7 @@ def get_all_notifications_for_service_job(service_id, job_id):
|
||||
@job_blueprint.route("/<job_id>/recent_notifications", methods=["GET"])
|
||||
def get_recent_notifications_for_service_job(service_id, job_id):
|
||||
data = notifications_filter_schema.load(request.args)
|
||||
print(f"DATA COMING IN AT REST LEVEL IS {data}")
|
||||
page = data["page"] if "page" in data else 1
|
||||
page_size = (
|
||||
data["page_size"]
|
||||
|
||||
Reference in New Issue
Block a user