diff --git a/controllers/products.js b/controllers/products.js index af58f8a..267c632 100644 --- a/controllers/products.js +++ b/controllers/products.js @@ -13,8 +13,9 @@ router.get('/', rescue(async (_req, res) => { /* res.status(result.status).json({products:[{_id:"63b5f85dae0a4537077d63cc", name:"MICHELLLL", price:6499, thumbnail:"http://http2.mlstatic.com/D_799755-MLA47058389754_082021-I.jpg", description:"",quantity:7}]}); -})); + */ +})); router.get('/search', rescue(async (req, res) => { const { name } = req.query;