From 3b7b47599cbc1122b5bf456734d44c02eb45ad2e Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 11 Dec 2023 23:06:51 +0300 Subject: [PATCH] authorizer-connector-fix-7 --- services/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/auth.py b/services/auth.py index 23e4a451..40383c9b 100644 --- a/services/auth.py +++ b/services/auth.py @@ -19,11 +19,10 @@ async def check_auth(req): async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=30.0)) as session: async with session.post(AUTH_URL, headers=headers, json=gql) as response: - print(f"[services.auth] response: {response.status} {await response.text()}") if response.status != 200: return False, None r = await response.json() - print(r) + print(f"[services.auth] response: {r}") try: data = r.get("data") is_authenticated = False