mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-01 08:15:15 +02:00
Updates to LibraryController to use new Library model
- Additional validation on API endpoints - Removed success toast when reorder libraries
This commit is contained in:
parent
e0de59a4b6
commit
5d13faef33
12 changed files with 260 additions and 169 deletions
|
@ -122,9 +122,8 @@ class FolderWatcher extends EventEmitter {
|
|||
}
|
||||
|
||||
/**
|
||||
* TODO: Update to new library model
|
||||
*
|
||||
* @param {import('./objects/Library')} library
|
||||
* @param {import('./models/Library')} library
|
||||
*/
|
||||
updateLibrary(library) {
|
||||
if (this.disabled) return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue