fixed carrello che scompariva...

This commit is contained in:
Surya Paolo
2024-02-10 16:42:00 +01:00
parent acbc23e92d
commit e7b0fd1d95
6 changed files with 17 additions and 9 deletions

View File

@@ -83,6 +83,7 @@ router.post('/:userId', authenticate, async function (req, res, next) {
nuovo = true;
}
let newCart = CartClass.constructByCart(mycart);
// order = await Product.updateProductInOrder(order);
if (!nuovo) {