mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-26 00:14:49 +01:00
Fix db migration
This commit is contained in:
parent
755e70b4a9
commit
08e648a3bc
@ -24,7 +24,7 @@ class Audiobook {
|
||||
this.name = audiobook.name || null
|
||||
this.audioFiles = audiobook.audioFiles.map(f => new AudioFile(f))
|
||||
this.chapters = audiobook.chapters.map(c => ({ ...c }))
|
||||
this.missingParts = audiobook.missingParts ? [...book.missingParts] : []
|
||||
this.missingParts = audiobook.missingParts ? [...audiobook.missingParts] : []
|
||||
this.addedAt = audiobook.addedAt
|
||||
this.updatedAt = audiobook.updatedAt
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user