bug fixes

This commit is contained in:
2025-11-24 01:50:49 +01:00
parent 38317c345d
commit 357ed76ddb
3 changed files with 10 additions and 8 deletions

View File

@@ -82,12 +82,14 @@ class novelfire {
}
);
return options.map(o => ({
id: `https://novelfire.net/book/${bookId}/chapter-${o.chapter}`,
title: o.title,
chapter: o.chapter,
language: "en"
}));
return {
chapters: options.map(o => ({
id: `https://novelfire.net/book/${bookId}/chapter-${o.chapter}`,
title: o.title,
chapter: o.chapter,
language: "en"
}))
};
}
async findChapterPages(chapterId) {