From 553f8b2e0cd8c538faffcaf6ec70b3efa8d89b5a Mon Sep 17 00:00:00 2001 From: aaron <> Date: Thu, 20 Feb 2025 12:27:45 +0800 Subject: [PATCH] update --- app/api/endpoints/withdraw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ):