Fix db migration

This commit is contained in:
advplyr 2022-03-17 09:07:02 -05:00
parent 755e70b4a9
commit 08e648a3bc

View File

@ -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
}