Skip to content

Commit

Permalink
fix(list payments): remove discount_option
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Oct 26, 2023
1 parent c499e35 commit d2ad2cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion functions/routes/ecom/modules/list-payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d2ad2cc

Please sign in to comment.