diff --git a/src/server/router/products_router.js b/src/server/router/products_router.js index df1bc14..069e6c6 100755 --- a/src/server/router/products_router.js +++ b/src/server/router/products_router.js @@ -43,6 +43,7 @@ router.post('/', auth_default, async function (req, res, next) { orders = await OrdersCart.getOrdersCartByUserId(userId, idapp, 0, false); } + /* let ind = 0; for (const ord of orders) { let newitems = [] @@ -61,6 +62,7 @@ router.post('/', auth_default, async function (req, res, next) { ord.items = newitems } + */ if (products) return res.send({ code: server_constants.RIS_CODE_OK, products, orders });