fix: off auth
This commit is contained in:
@@ -15,7 +15,8 @@ async def create_kyc(
|
||||
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=user_id)
|
||||
result = await command(user_id='01KPKAFN6J1NJBY15DX8JE2QYB')
|
||||
return ORJSONResponse(result.model_dump())
|
||||
|
||||
|
||||
@@ -24,7 +25,8 @@ async def get_kyc_session(
|
||||
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=user_id)
|
||||
result = await command(user_id='01KPKAFN6J1NJBY15DX8JE2QYB')
|
||||
return ORJSONResponse(result.model_dump())
|
||||
|
||||
|
||||
@@ -33,5 +35,6 @@ async def complete_kyc(
|
||||
auth: AuthContext = Depends(require_access_token),
|
||||
command: CompleteKycCommand = Depends(get_complete_kyc_command),
|
||||
) -> ORJSONResponse:
|
||||
result = await command(user_id=auth.user_id)
|
||||
#result = await command(user_id=user_id)
|
||||
result = await command(user_id='01KPKAFN6J1NJBY15DX8JE2QYB')
|
||||
return ORJSONResponse(result.model_dump())
|
||||
Reference in New Issue
Block a user