debug-response
All checks were successful
deploy / deploy (push) Successful in 1m35s

This commit is contained in:
Untone 2023-12-13 20:49:26 +03:00
parent fa0e815f13
commit d1447d3c05

View File

@ -16,7 +16,9 @@ async def check_auth(req):
async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=30.0)) as session:
async with session.post(AUTH_URL, json=gql) as response:
print(response)
response_text = await response.text()
print(f"[services.auth] response text: {response_text}")
if response.status != 200:
return False, None
r = await response.json()