auth-debug
All checks were successful
Deploy on push / deploy (push) Successful in 1m54s

This commit is contained in:
Untone 2024-06-09 09:07:48 +03:00
parent 4743581395
commit ea28f5346c

View File

@ -12,6 +12,7 @@ async def request_data(gql, headers=None):
if headers is None:
headers = {"Content-Type": "application/json"}
try:
logger.debug(AUTH_URL, gql, headers)
async with httpx.AsyncClient() as client:
response = await client.post(AUTH_URL, json=gql, headers=headers)
if response.status_code == 200: