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

@@ -85,7 +85,7 @@ class ligntnovelworld {
} }
return chapters; return { chapters: chapters};
} }
async findChapterPages(chapterId) { async findChapterPages(chapterId) {

View File

@@ -78,7 +78,7 @@ class NovelBin {
}); });
}); });
return chapters; return { chapters: chapters };
} }
async findChapterPages(chapterId) { async findChapterPages(chapterId) {

View File

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