fix: delete keydb
This commit is contained in:
@@ -11,17 +11,17 @@ 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:
|
||||
result = await command(user_id=auth.user_id)
|
||||
result = await command(user_id='01KPKAFN6J1NJBY15DX8JE2QYB')
|
||||
return ORJSONResponse(result.model_dump())
|
||||
|
||||
|
||||
@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=auth.user_id)
|
||||
result = await command(user_id='01KPKAFN6J1NJBY15DX8JE2QYB')
|
||||
return ORJSONResponse(result.model_dump())
|
||||
Reference in New Issue
Block a user