From e0275810a792ca66185159e8b27887e3ee14be2c Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 27 Dec 2023 16:38:16 +0300 Subject: [PATCH] logs-fix --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth.py b/services/auth.py index 51160ca..e4a14a0 100644 --- a/services/auth.py +++ b/services/auth.py @@ -32,7 +32,7 @@ async def check_auth(req) -> str | None: # Asynchronous HTTP request to the authentication server async with ClientSession() as session: async with session.post(AUTH_URL, json=gql, headers=headers) as response: - print(f"[services.auth] HTTP Response {response.status} {response.text()}") + print(f"[services.auth] HTTP Response {response.status} {await response.text()}") if response.status == 200: data = await response.json() errors = data.get("errors")