mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 17:54:54 +02:00
Add LibraryItemController test for delete/batchDelete/updateMedia endpoint functions to correctly remove authors & series with no books
This commit is contained in:
parent
c496db7c95
commit
2b5484243b
4 changed files with 210 additions and 5 deletions
|
@ -262,7 +262,7 @@ class LibraryItem {
|
|||
* @returns {Promise<LibraryFile>} null if not saved
|
||||
*/
|
||||
async saveMetadata() {
|
||||
if (this.isSavingMetadata) return null
|
||||
if (this.isSavingMetadata || !global.MetadataPath) return null
|
||||
|
||||
this.isSavingMetadata = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue