From bb68370eaee39a48ba06f80099ed275680520186 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 5 Aug 2025 09:50:55 -0700 Subject: [PATCH] fix dead code warning --- app/service/rest.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/service/rest.py b/app/service/rest.py index f479212d7..c4d94e0d1 100644 --- a/app/service/rest.py +++ b/app/service/rest.py @@ -639,9 +639,7 @@ def generate_notifications_report( current_app.logger.debug(hilite("FINITO")) -@service_blueprint.route( - "//notifications", methods=["GET", "POST"] -) +@service_blueprint.route("//notifications-report", methods=["GET", "POST"]) def get_notifications_report_for_service(service_id): current_app.logger.debug(hilite("ENTER GET ALL NOTIFICATIONS FOR SERVICE@")) check_suspicious_id(service_id) @@ -662,7 +660,7 @@ def get_notifications_report_for_service(service_id): return jsonify({"report_id": report_id}), 200 -@service_blueprint.route("//notificationsx", methods=["GET", "POST"]) +@service_blueprint.route("//notifications", methods=["GET", "POST"]) def get_all_notifications_for_service(service_id): check_suspicious_id(service_id) current_app.logger.debug("enter get_all_notifications_for_service")