mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Fix bugs
This commit is contained in:
@@ -43,7 +43,7 @@ async def get_book(id: int):
|
||||
return book
|
||||
|
||||
|
||||
@book_router.get("/{source_id}/{remote_id}", response_model=Book)
|
||||
@book_router.get("/remote/{source_id}/{remote_id}", response_model=Book)
|
||||
async def get_remote_book(source_id: int, remote_id: int):
|
||||
book = await BookDB.objects.select_related("authors").get_or_none(
|
||||
source=source_id,
|
||||
|
||||
Reference in New Issue
Block a user