Add API to update a path on a watched library folder

This commit is contained in:
mikiher 2023-10-24 13:35:43 +00:00
parent 0ee6336b02
commit e054b9a54c
2 changed files with 49 additions and 0 deletions

View file

@ -308,6 +308,7 @@ class ApiRouter {
this.router.post('/genres/rename', MiscController.renameGenre.bind(this))
this.router.delete('/genres/:genre', MiscController.deleteGenre.bind(this))
this.router.post('/validate-cron', MiscController.validateCronExpression.bind(this))
this.router.post('/watcher/update', MiscController.updateWatchedPath.bind(this))
}
async getDirectories(dir, relpath, excludedDirs, level = 0) {