Fix render method

This commit is contained in:
Akshay
2023-10-15 20:21:22 +05:30
parent e95ebfd6a0
commit e71d21fc27

View File

@@ -45,6 +45,7 @@ router.render = (req, res) => {
res.status(404).jsonp({});
}
}
res.status(res.statusCode).jsonp(res.locals.data);
};
server.use(router);