BoxNovel: fix top novels

This commit is contained in:
Rajarshee Chatterjee
2021-05-02 21:48:23 +05:30
parent cc622caab3
commit 70e23ea459
+1 -1
View File
@@ -68,7 +68,7 @@ router.get("/novels/:pageNo/", (req, res) => {
.then((result) => { .then((result) => {
page4 = result; page4 = result;
res.json([...page1, ...page2, ...page3]); res.json([...page1, ...page2, ...page3, ...page4]);
}) })
.catch((err) => { .catch((err) => {
console.log("Error occured in one of the API call: ", err); console.log("Error occured in one of the API call: ", err);