Skip to content

Commit c984739

Browse files
committed
fix: replacing unnacepted char & on shipping_method_label for order export
1 parent 4e72366 commit c984739

File tree

1 file changed

+1
-1
lines changed
  • functions/lib/integration/parsers/order-to-tiny

1 file changed

+1
-1
lines changed

functions/lib/integration/parsers/order-to-tiny/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ module.exports = (order, appData, storeId) => {
135135
tinyOrder.forma_pagamento = 'pix'
136136
}
137137
if (order.shipping_method_label) {
138-
tinyOrder.forma_frete = order.shipping_method_label
138+
tinyOrder.forma_frete = order.shipping_method_label.replaceAll('&', 'e')
139139
}
140140
if (shippingLine) {
141141
tinyOrder.forma_envio = 'X'

0 commit comments

Comments
 (0)