mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-08 16:34:55 +02:00
Fix:Quick match requiring cover
This commit is contained in:
parent
a5b10aac96
commit
4e7d2ddc58
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class BookController {
|
|||
return res.sendStatus(403)
|
||||
}
|
||||
var audiobook = this.db.audiobooks.find(a => a.id === req.params.id)
|
||||
if (!audiobook || !audiobook.book.cover) return res.sendStatus(404)
|
||||
if (!audiobook) return res.sendStatus(404)
|
||||
|
||||
// Check user can access this audiobooks library
|
||||
if (!req.user.checkCanAccessLibrary(audiobook.libraryId)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue