Admin display connected to backend.

This commit is contained in:
2022-04-07 20:43:31 -05:00
parent 9c4696b797
commit 90040f9049
6 changed files with 262 additions and 218 deletions

View File

@@ -39,7 +39,6 @@ rentalController.get("/recent/:limit?", needDatabase, async (req, res) => {
let limit = parseInt(req.params.limit);
if (!req.params.limit) limit = 10;
if (isNaN(limit)) {
console.log(typeof (limit));
res.status(400).send("Limit parameter is not a number.");
return;
}