logs-fix
All checks were successful
deploy / deploy (push) Successful in 1m14s

This commit is contained in:
Untone 2023-12-27 16:38:16 +03:00
parent 8ed5a973fc
commit e0275810a7

View File

@ -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")