mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Fix
This commit is contained in:
@@ -117,8 +117,8 @@ class BaseSearchService(Generic[MODEL, QUERY], BaseService[MODEL, QUERY]):
|
|||||||
if not await redis.exists(active_key):
|
if not await redis.exists(active_key):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
assert params.offset
|
assert params.offset is not None
|
||||||
assert params.limit
|
assert params.limit is not None
|
||||||
|
|
||||||
objects_count, objects = await asyncio.gather(
|
objects_count, objects = await asyncio.gather(
|
||||||
redis.llen(key),
|
redis.llen(key),
|
||||||
|
|||||||
Reference in New Issue
Block a user