diff --git a/app/api/endpoints/withdraw.py b/app/api/endpoints/withdraw.py index fd9b70f..ff4974c 100644 --- a/app/api/endpoints/withdraw.py +++ b/app/api/endpoints/withdraw.py @@ -152,8 +152,8 @@ async def reject_withdraw( @router.get("/user", response_model=ResponseModel) async def get_user_withdraws( status: Optional[WithdrawStatus] = None, - skip: int = Field(default=0), - limit: int = Field(default=20), + skip: int = 0, + limit: int = 20, db: Session = Depends(get_db), current_user: UserDB = Depends(get_current_user) ):