From ce61829ea2e92fe84398ab98b6fb4d514913c491 Mon Sep 17 00:00:00 2001 From: Noloquideus Date: Mon, 11 May 2026 23:59:22 +0300 Subject: [PATCH] fix: off auth --- src/presentation/routing/kyc.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/presentation/routing/kyc.py b/src/presentation/routing/kyc.py index 0bcd8ce..01fb696 100644 --- a/src/presentation/routing/kyc.py +++ b/src/presentation/routing/kyc.py @@ -11,10 +11,9 @@ kyc_router = APIRouter(prefix='/kyc', tags=['Kyc']) @kyc_router.post('/create') async def create_kyc( - auth: AuthContext = Depends(require_access_token), + #auth: AuthContext = Depends(require_access_token), command: PassKycCommand = Depends(get_pass_kyc_command), ) -> ORJSONResponse: - user_id = auth.user_id #result = await command(user_id=user_id) result = await command(user_id='01KPKAFN6J1NJBY15DX8JE2QYB') return ORJSONResponse(result.model_dump()) @@ -22,7 +21,7 @@ async def create_kyc( @kyc_router.get('/session') async def get_kyc_session( - auth: AuthContext = Depends(require_access_token), + #auth: AuthContext = Depends(require_access_token), command: GetKycSessionCommand = Depends(get_kyc_session_command), ) -> ORJSONResponse: #result = await command(user_id=user_id) @@ -32,7 +31,7 @@ async def get_kyc_session( @kyc_router.post('/complete') async def complete_kyc( - auth: AuthContext = Depends(require_access_token), + #auth: AuthContext = Depends(require_access_token), command: CompleteKycCommand = Depends(get_complete_kyc_command), ) -> ORJSONResponse: #result = await command(user_id=user_id)