mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 21:23:49 +02:00
Fix random book view not working
This commit is contained in:
parent
b3007159cc
commit
fb43704dcd
1 changed files with 1 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ def notfound():
|
|||
data = book_as_json(db, book_id)
|
||||
if data is None:
|
||||
notfound()
|
||||
data['id'] = book_id # needed for random book view (when book_id=0)
|
||||
return data
|
||||
|
||||
@endpoint('/interface-data/tag-browser')
|
||||
|
|
|
|||
Loading…
Reference in a new issue