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:
@@ -32,7 +32,7 @@ async def get_random_sequence(
|
||||
allowed_langs: frozenset[str] = Depends(get_allowed_langs),
|
||||
):
|
||||
sequence_id = await GetRandomSequenceService.get_random_id(
|
||||
allowed_langs,
|
||||
{"allowed_langs": allowed_langs},
|
||||
request.app.state.redis,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user