@commercetools/csv-parser-orders
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -92,5 +92,5 @@ 'use strict'; | ||
// if there is no returnInfo with this returnId push those from currentOrder | ||
if (!existingReturnInfos.length) existingOrder.returnInfo.push(...currentOrder.returnInfo);else | ||
// else concat items from currentOrder | ||
existingReturnInfos.forEach(returnInfo => { | ||
if (!existingReturnInfos.length) existingOrder.returnInfo.push(...currentOrder.returnInfo); | ||
// else concat items from currentOrder | ||
else existingReturnInfos.forEach(returnInfo => { | ||
returnInfo.items.push(...currentOrder.returnInfo[0].items); | ||
@@ -97,0 +97,0 @@ }); |
{ | ||
"name": "@commercetools/csv-parser-orders", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Module that parses order csv to json", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24346