mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-08 23:04:51 +02:00
Update author and series to include libraryId
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user