diff --git a/api/controller/Payment/payment.services.js b/api/controller/Payment/payment.services.js index a946442..6bb5c56 100644 --- a/api/controller/Payment/payment.services.js +++ b/api/controller/Payment/payment.services.js @@ -10,7 +10,7 @@ class PaymentServices { const _products = await db.getProducts(dateExpired, postalCode) const productsFilter = _products[0].filter((item) => { - if (products.includes(item.id)) { + if (products.includes(item.itemFk)) { return item } });