From 269bbeaada4e6f6d091fee3fff3efebecbb35cb9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 14 Dec 2023 09:08:02 -0800 Subject: add debugging statement --- api/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/app.py b/api/app.py index 37fe900..415e13d 100644 --- a/api/app.py +++ b/api/app.py @@ -213,6 +213,7 @@ def clear_sessions(): auth = request.headers.get("Authorization") stored_auth = os.environ.get("AUTHORIZATION") cron_secret = os.environ.get("CRON_SECRET") + print("Checking if " + auth + " matches " + cron_secret) if auth != stored_auth or auth != cron_secret: return jsonify({"error": "Unauthorized"}), 401 server = create_database_connection() -- cgit v1.2.3