Skip to content

Commit

Permalink
random commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Belissimo-T committed Jun 19, 2024
1 parent 73bb22e commit 2f6f58c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions endpoints/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2f6f58c

Please sign in to comment.