Release: Scouting API, roster refactor, and bug fixes #61

Merged
cal merged 46 commits from next-release into main 2026-03-09 14:12:42 +00:00
Showing only changes of commit 9711f63da5 - Show all commits

View File

@ -1,4 +1,5 @@
import datetime
import hmac
import logging
import os
@ -24,7 +25,7 @@ if os.environ.get("TESTING") == "True":
def valid_token(token):
return token == AUTH_TOKEN
return hmac.compare_digest(token, AUTH_TOKEN)
def int_timestamp(datetime_obj: datetime) -> int: