This commit is contained in:
parent
8ed5a973fc
commit
e0275810a7
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user