mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix
This commit is contained in:
@@ -72,8 +72,8 @@ async def get_book(
|
|||||||
|
|
||||||
|
|
||||||
async def get_books(page: int, page_size: int) -> Page[Book]:
|
async def get_books(page: int, page_size: int) -> Page[Book]:
|
||||||
id_lte = page * page_size
|
id_gte = page * page_size
|
||||||
id_gte = (page + 1) * page_size - 1
|
id_lte = (page + 1) * page_size - 1
|
||||||
|
|
||||||
async with httpx.AsyncClient(timeout=5 * 60) as client:
|
async with httpx.AsyncClient(timeout=5 * 60) as client:
|
||||||
response = await client.get(
|
response = await client.get(
|
||||||
|
|||||||
Reference in New Issue
Block a user