mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-12 00:19:09 +02:00
Fix:Handle enabling/disabling library watchers #2775
This commit is contained in:
@ -128,7 +128,14 @@ class LibraryController {
|
||||
res.json(libraryDownloadQueueDetails)
|
||||
}
|
||||
|
||||
/**
|
||||
* PATCH: /api/libraries/:id
|
||||
*
|
||||
* @param {import('express').Request} req
|
||||
* @param {import('express').Response} res
|
||||
*/
|
||||
async update(req, res) {
|
||||
/** @type {import('../objects/Library')} */
|
||||
const library = req.library
|
||||
|
||||
// Validate that the custom provider exists if given any
|
||||
|
Reference in New Issue
Block a user