From 357ed76ddb1ee59d53c404bb231363abde8bb208 Mon Sep 17 00:00:00 2001 From: lenafx Date: Mon, 24 Nov 2025 01:50:49 +0100 Subject: [PATCH] bug fixes --- lightnovelworld.js | 2 +- novelbin.js | 2 +- novelfire.js | 14 ++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/lightnovelworld.js b/lightnovelworld.js index 905db3a..393c382 100644 --- a/lightnovelworld.js +++ b/lightnovelworld.js @@ -85,7 +85,7 @@ class ligntnovelworld { } - return chapters; + return { chapters: chapters}; } async findChapterPages(chapterId) { diff --git a/novelbin.js b/novelbin.js index 2fe477a..bfc23d9 100644 --- a/novelbin.js +++ b/novelbin.js @@ -78,7 +78,7 @@ class NovelBin { }); }); - return chapters; + return { chapters: chapters }; } async findChapterPages(chapterId) { diff --git a/novelfire.js b/novelfire.js index 9fe2d6c..031dd71 100644 --- a/novelfire.js +++ b/novelfire.js @@ -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) {