darenx commited on
Commit
48a671f
1 Parent(s): 297b56f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -21,7 +21,7 @@ def read_root():
21
  async def get_file_list(
22
  key: str,
23
  page: int = Query(1, alias='page'), # default page to 1
24
- per_page: int = Query(10, alias='per_page') # default per_page to 10
25
  ):
26
  url = f"https://doodapi.com/api/file/list?key={key}&page={page}&per_page={per_page}"
27
  async with httpx.AsyncClient() as client:
 
21
  async def get_file_list(
22
  key: str,
23
  page: int = Query(1, alias='page'), # default page to 1
24
+ per_page: int = Query(100, alias='per_page') # default per_page to 10
25
  ):
26
  url = f"https://doodapi.com/api/file/list?key={key}&page={page}&per_page={per_page}"
27
  async with httpx.AsyncClient() as client: