log-auth-graphql
All checks were successful
Deploy on push / deploy (push) Successful in 6s

This commit is contained in:
Untone 2024-12-11 22:49:08 +03:00
parent 9cead2ab0e
commit bffc48e5d9

View File

@ -13,7 +13,7 @@ async def request_graphql_data(gql, url=AUTH_URL, headers=None):
if headers is None:
headers = {"Content-Type": "application/json"}
try:
# logger.debug(f"{url} {gql} {headers}")
logger.debug(f"{url}:\n{headers}\n{gql}")
async with httpx.AsyncClient() as client:
response = await client.post(url, json=gql, headers=headers)
if response.status_code == 200: