mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-23 01:09:26 +02:00
Fix:Handle enabling/disabling library watchers #2775
This commit is contained in:
parent
a9c9c447f1
commit
c7cc994532
2 changed files with 28 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue