From 50947c1bda3fbaab68f5aebcd2cae24877618c8e Mon Sep 17 00:00:00 2001 From: Michel Pereira Date: Wed, 25 Jan 2023 15:10:44 -0300 Subject: [PATCH] FIX: comment in controllers/products.js --- controllers/products.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;