fmt+debug
All checks were successful
Deploy on push / deploy (push) Successful in 5s

This commit is contained in:
2024-12-12 01:04:11 +03:00
parent 87506b0478
commit d02ae5bd3f
8 changed files with 32 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
from asyncio.log import logger
from ariadne import MutationType, QueryType
import httpx
from ariadne import MutationType, QueryType
from settings import AUTH_URL
@@ -10,6 +11,8 @@ resolvers = [query, mutation]
async def request_graphql_data(gql, url=AUTH_URL, headers=None):
if not url:
return None
if headers is None:
headers = {"Content-Type": "application/json"}
try: