mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 17:59:06 +02:00
Update author and series to include libraryId
This commit is contained in:
parent
0ac63b2678
commit
0a179e4eed
3 changed files with 7 additions and 3 deletions
|
@ -244,7 +244,7 @@ class AuthorController {
|
|||
}
|
||||
|
||||
middleware(req, res, next) {
|
||||
var author = Database.authors.find(au => au.id === req.params.id)
|
||||
const author = Database.authors.find(au => au.id === req.params.id)
|
||||
if (!author) return res.sendStatus(404)
|
||||
|
||||
if (req.method == 'DELETE' && !req.user.canDelete) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue