We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b8ac89 commit 9a4c036Copy full SHA for 9a4c036
1 file changed
packages/sync-actions/src/product-actions.js
@@ -174,6 +174,7 @@ function _buildSetAttributeAction(
174
attribute,
175
sameForAllAttributeNames
176
) {
177
+ // in the case of diffedValue being null or undefined, _buildAttributeValue will fail.
178
if (!attribute || !diffedValue) return undefined
179
180
let action = {
@@ -218,6 +219,7 @@ function _buildSetProductAttributeAction(
218
219
oldProductData,
220
newAttribute
221
222
223
if (!newAttribute || !diffedValue) return undefined
224
225
const action = {
0 commit comments