diff --git a/src/routes/payment.py b/src/routes/payment.py index 981d789..c20130d 100644 --- a/src/routes/payment.py +++ b/src/routes/payment.py @@ -129,7 +129,7 @@ admin_router = APIRouter( ) @admin_router.get("/", response_model=BillingsResponse) -async def history_admin( +async def history_admin_router( token: Annotated[HTTPAuthorizationCredentials, Depends(auth_scheme)], page: int = Query(1, ge=1, description="شماره صفحه (از ۱ شروع می‌شود)"), size: int = Query(10, ge=1, le=100, description="تعداد آیتم در هر صفحه (حداکثر ۱۰۰)")