more-debug

This commit is contained in:
Untone 2023-10-11 14:46:01 +03:00
parent a395e4e55d
commit 807b397d37

View File

@ -20,6 +20,7 @@ async def check_auth(req):
if response.status_code != 200: if response.status_code != 200:
return False, None return False, None
r = response.json() r = response.json()
print(f"{r}")
user_id = ( user_id = (
r.get("data", {}).get("getSession", {}).get("user", {}).get("id", None) r.get("data", {}).get("getSession", {}).get("user", {}).get("id", None)
if INTERNAL_AUTH_SERVER if INTERNAL_AUTH_SERVER