mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 11:21:27 +02:00
Update server/objects/mediaTypes/Book.js
This commit is contained in:
@@ -444,7 +444,7 @@ class Book {
|
|||||||
id: c.id + currChapterId,
|
id: c.id + currChapterId,
|
||||||
start: c.start + currStartTime,
|
start: c.start + currStartTime,
|
||||||
end: c.end + currStartTime,
|
end: c.end + currStartTime,
|
||||||
}))
|
})) ?? []
|
||||||
this.chapters = this.chapters.concat(chapters)
|
this.chapters = this.chapters.concat(chapters)
|
||||||
|
|
||||||
currChapterId += file.chapters?.length ?? 0
|
currChapterId += file.chapters?.length ?? 0
|
||||||
|
Reference in New Issue
Block a user