diff --git a/services/auth.py b/services/auth.py index 64f5620..e2c078d 100644 --- a/services/auth.py +++ b/services/auth.py @@ -17,10 +17,10 @@ async def check_auth(req): headers = {"Authorization": token, "Content-Type": "application/json"} async with AsyncClient() as client: response = await client.post(AUTH_URL, headers=headers, data=gql) + print(f"{response}") if response.status_code != 200: return False, None r = response.json() - print(f"{r}") user_id = ( r.get("data", {}).get("getSession", {}).get("user", {}).get("id", None) if INTERNAL_AUTH_SERVER