Fixed typo in search limiter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2024-05-24 12:52:58 -04:00
parent 43f0800f91
commit 09c464ccbb

View File

@ -7,7 +7,7 @@ exports.getIndex = async function(req, res) {
// check if there's a limit set
let limit = 10; // default to 10 results
if ('limit' in req.query) {
const limit = req.query.limit;
limit = req.query.limit;
}
// fetch inventory items from database