no era el itemfk sino el id
This commit is contained in:
parent
7fea3f9aaf
commit
db1efdcfa9
|
@ -194,7 +194,7 @@ export const useCartStore = defineStore("cart", () => {
|
|||
const params = transformOptionsToParams(
|
||||
availabilityForm.value || availability.value
|
||||
);
|
||||
const correctProduct = await apiBack.get(`products/${product.itemFk}`, { params });
|
||||
const correctProduct = await apiBack.get(`products/${product.id}`, { params });
|
||||
console.log(hasCurrentProduct)
|
||||
await getProducts(params);
|
||||
|
||||
|
|
Loading…
Reference in New Issue