fix: normalize currency code

This commit is contained in:
Sebastian Rindom
2021-02-25 11:04:18 +01:00
parent 80a18d4273
commit 98aa404306

View File

@@ -103,7 +103,7 @@ class SegmentService extends BaseService {
tax,
discount,
coupon,
currency: order.currency_code,
currency: order.currency_code.toUpperCase(),
products: await Promise.all(
order.items.map(async (item) => {
let name = item.title