From 2d708392b401a7387735d064b9f32e078db0375c Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 11 Oct 2023 14:49:03 +0300 Subject: [PATCH] more-debug2 --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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