This commit is contained in:
parent
fa0e815f13
commit
d1447d3c05
|
@ -16,7 +16,9 @@ async def check_auth(req):
|
||||||
|
|
||||||
async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=30.0)) as session:
|
async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=30.0)) as session:
|
||||||
async with session.post(AUTH_URL, json=gql) as response:
|
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:
|
if response.status != 200:
|
||||||
return False, None
|
return False, None
|
||||||
r = await response.json()
|
r = await response.json()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user