less-logs
All checks were successful
deploy / deploy (push) Successful in 1m26s

This commit is contained in:
2023-12-17 09:20:33 +03:00
parent 312900cec1
commit af4c1efd1c
2 changed files with 3 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ async def check_auth(req) -> (bool, int | None):
"variables": variables,
"operationName": opeation,
}
print(f"[services.auth] Graphql: {gql}")
# print(f"[services.auth] Graphql: {gql}")
try:
# Asynchronous HTTP request to the authentication server
async with aiohttp.ClientSession() as session:
@@ -71,7 +71,7 @@ def login_required(f):
context = info.context
# print(context)
req = context.get("request")
print(f"[services.auth] login_required request headers: {req.headers}")
# print(f"[services.auth] login_required request headers: {req.headers}")
# Performing authentication check
is_authenticated, user_id = await check_auth(req)
if not is_authenticated: