Merge pull request #237 from medusajs/hotfix/bp-currency-typo

hotfix(brightpearl): currencyCode -> currency_code
This commit is contained in:
Sebastian Rindom
2021-04-16 15:57:54 +02:00
committed by GitHub
@@ -417,7 +417,7 @@ class BrightpearlService extends BaseService {
currencyIsoCode: fromOrder.currency_code.toUpperCase(), currencyIsoCode: fromOrder.currency_code.toUpperCase(),
amountPaid: this.bpnum_( amountPaid: this.bpnum_(
fromReturn.refund_amount, fromReturn.refund_amount,
fromOrder.currencyCode fromOrder.currency_code
), ),
paymentDate: new Date(), paymentDate: new Date(),
paymentType, paymentType,