This commit is contained in:
Timothy Jaeryang Baek
2026-03-01 14:06:26 -06:00
parent 9904566513
commit 80ad5fd2d0

View File

@@ -146,11 +146,7 @@ class AuthsTable:
def authenticate_user_by_api_key(
self, api_key: str, db: Optional[Session] = None
) -> Optional[UserModel]:
log.info(
f"authenticate_user_by_api_key: ...{api_key[-4:]}"
if api_key
else "authenticate_user_by_api_key: <empty>"
)
log.info(f"authenticate_user_by_api_key")
# if no api_key, return None
if not api_key:
return None