From d2ad2cc5f6402fcc9add04b50753b74ec64ddc84 Mon Sep 17 00:00:00 2001 From: Wisley Date: Thu, 26 Oct 2023 16:15:05 -0300 Subject: [PATCH] fix(list payments): remove discount_option --- functions/routes/ecom/modules/list-payments.js | 1 - 1 file changed, 1 deletion(-) diff --git a/functions/routes/ecom/modules/list-payments.js b/functions/routes/ecom/modules/list-payments.js index 3593b1c..8ab03ed 100644 --- a/functions/routes/ecom/modules/list-payments.js +++ b/functions/routes/ecom/modules/list-payments.js @@ -126,7 +126,6 @@ exports.post = ({ appSdk }, req, res) => { amount = handleDiscount.amount gateway.discount = handleDiscount.discount gateway.discount.type = handleDiscount.discountOption.type - response.discount_option = handleDiscount.discountOption } response.payment_gateways.push(gateway) }