mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Refactor services
This commit is contained in:
@@ -44,7 +44,7 @@ async def get_random_book(
|
||||
allowed_langs: frozenset[str] = Depends(get_allowed_langs),
|
||||
):
|
||||
book_id = await GetRandomBookService.get_random_id(
|
||||
allowed_langs, request.app.state.redis
|
||||
{"allowed_langs": allowed_langs}, request.app.state.redis
|
||||
)
|
||||
|
||||
book = (
|
||||
|
||||
Reference in New Issue
Block a user