BoxNovel: fix top novels
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user