We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b44987 commit cdad976Copy full SHA for cdad976
app/code/Magento/Checkout/view/frontend/web/js/model/address-converter.js
@@ -101,13 +101,15 @@ define([
101
output.street = streetObject;
102
}
103
104
+ //jscs:disable requireCamelCaseOrUpperCaseIdentifiers
105
if ($.isArray(addrs.customAttributes)) {
106
customAttributesObject = {};
- addrs.customAttributes.forEach(function (value, index) {
107
+ addrs.customAttributes.forEach(function (value) {
108
customAttributesObject[value.attribute_code] = value.value;
109
});
110
output.custom_attributes = customAttributesObject;
111
112
+ //jscs:enable requireCamelCaseOrUpperCaseIdentifiers
113
114
return output;
115
},
0 commit comments