Update server/objects/mediaTypes/Book.js

This commit is contained in:
advplyr 2023-01-30 17:50:45 -06:00 committed by GitHub
parent 5d96b2cc6e
commit 4770be5a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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