mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 12:44:06 +01:00
Init sqlite take 2
This commit is contained in:
1 parent
d86a3b3dc2
commit
cf7fd315b6
88 files changed
+7017
-692
No files matched your search
@@ -218,7 +218,7 @@ class BookMetadata {
|
||||
|
||||
// Updates author name
|
||||
updateAuthor(updatedAuthor) {
|
||||
var author = this.authors.find(au => au.id === updatedAuthor.id)
|
||||
const author = this.authors.find(au => au.id === updatedAuthor.id)
|
||||
if (!author || author.name == updatedAuthor.name) return false
|
||||
author.name = updatedAuthor.name
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user