aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-12-14 09:08:02 -0800
committerPinapelz <yukais@pinapelz.com>2023-12-14 09:08:02 -0800
commit269bbeaada4e6f6d091fee3fff3efebecbb35cb9 (patch)
treefffa289cf52c360bbeb54c9da349a5172b5e4324
parent99a51ec5c06cf7cdceaf70fab06848792a83ce93 (diff)
add debugging statement
-rw-r--r--api/app.py1
1 files changed, 1 insertions, 0 deletions
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()
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage