- Categorie
- ProductInfo
This commit is contained in:
@@ -57,6 +57,7 @@ router.post('/:userId', authenticate, async function (req, res, next) {
|
||||
try {
|
||||
let mycart = await Cart.getCartByUserId(userId, idapp);
|
||||
|
||||
|
||||
if (!order) {
|
||||
return res.send({ code: server_constants.RIS_CODE_OK, cart: null });
|
||||
}
|
||||
@@ -272,7 +273,6 @@ router.post('/:userId/createorderscart', authenticate, async function (req, res,
|
||||
})
|
||||
}
|
||||
statusOrderCart = myorderCart.status;
|
||||
|
||||
const idordercart = myorderCart._id;
|
||||
|
||||
if (!!mycart) {
|
||||
|
||||
Reference in New Issue
Block a user