mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-16 02:48:41 +01:00
Update server/objects/mediaTypes/Book.js
This commit is contained in:
parent
5d96b2cc6e
commit
4770be5a39
@ -439,7 +439,7 @@ class Book {
|
||||
|
||||
includedAudioFiles.forEach((file) => {
|
||||
if (file.duration) {
|
||||
let chapters = file.chapters?.map((c) => ({
|
||||
const chapters = file.chapters?.map((c) => ({
|
||||
...c,
|
||||
id: c.id + currChapterId,
|
||||
start: c.start + currStartTime,
|
||||
|
Loading…
Reference in New Issue
Block a user