From 2f6f58c5a5c15640cc5bde5a45358fec9ef20c67 Mon Sep 17 00:00:00 2001 From: Belissimo_T Date: Wed, 19 Jun 2024 22:18:01 +0200 Subject: [PATCH] random commit --- endpoints/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoints/api.py b/endpoints/api.py index 92b3ec1..082b039 100644 --- a/endpoints/api.py +++ b/endpoints/api.py @@ -157,6 +157,7 @@ def authorize(school_num: str) -> Response: embed.set_footer("A detailed log can be found under .cache/auth.log") embed.set_timestamp() webhook_send("WEBHOOK_SCHOOL_AUTHORIZATION", embeds=[embed]) + with open(".cache/auth.log", "a") as f: f.write(f"New auth attempt for {request.form.get('school_num')}\nargs: {request.args}\nbody: {request.form}") if not school_data: