Skip to content

Commit

Permalink
Fix: [Server][Routers/SeriesRouter] 細かな修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Apr 15, 2024
1 parent 1314712 commit 8a4ea59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/app/routers/SeriesRouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ async def SeriesListAPI(
page: Annotated[int, Query(description='ページ番号。')] = 1,
):
"""
すべてのシリーズ番組をを一度に 100 件ずつ取得する。<br>
すべてのシリーズ番組を一度に 100 件ずつ取得する。<br>
order には "desc" か "asc" を指定する。<br>
page (ページ番号) には 1 以上の整数を指定する。
"""

PAGE_SIZE = 20
PAGE_SIZE = 100
series_list = await Series.all() \
.prefetch_related('broadcast_periods') \
.prefetch_related('broadcast_periods__recorded_programs') \
Expand Down

0 comments on commit 8a4ea59

Please sign in to comment.