root-auth-logs
All checks were successful
Deploy on push / deploy (push) Successful in 26s

This commit is contained in:
Untone 2024-02-27 13:49:06 +03:00
parent 9f49cde0d7
commit 401c058f32

View File

@ -1,10 +1,12 @@
from functools import wraps
import httpx
import logging
from starlette.exceptions import HTTPException
from settings import ADMIN_SECRET, AUTH_URL
from services.logger import root_logger as logger
logger = logging.getLogger('[author]')
logger.setLevel(logging.DEBUG)
async def request_data(gql, headers=None):
if headers is None: