authorizer-full-vars-fix-2
All checks were successful
deploy / deploy (push) Successful in 1m30s

This commit is contained in:
Untone 2023-12-12 11:25:34 +03:00
parent d27a6897cc
commit a72dd5675e

View File

@ -40,6 +40,7 @@ def login_required(f):
async def decorated_function(*args, **kwargs): async def decorated_function(*args, **kwargs):
info = args[1] info = args[1]
context = info.context context = info.context
print(context)
req = context.get("request") req = context.get("request")
is_authenticated, user_id = await check_auth(req) is_authenticated, user_id = await check_auth(req)
if not is_authenticated: if not is_authenticated: