@nuskin/ns-product-lib 2.14.2-cx24-5934.1 → 2.14.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/graph-ql/product.js +0 -2
package/package.json
CHANGED
package/src/graph-ql/product.js
CHANGED
@@ -69,7 +69,6 @@ async function getProduct(id, market, locale, config) {
|
|
69
69
|
}
|
70
70
|
|
71
71
|
} catch (e) {
|
72
|
-
console.log(`ERROR : `, e)
|
73
72
|
console.log(`Unable to fetch product detail for SKU ${id}`);
|
74
73
|
}
|
75
74
|
|
@@ -139,7 +138,6 @@ function mapProduct(product, market, locale, config) {
|
|
139
138
|
|
140
139
|
//serves as parent
|
141
140
|
const defaultVariant = !kitBundleProducts ? product.variants.find(v => v.sku === config.sku) : variants[0];
|
142
|
-
// const defaultVariant = variants[0];
|
143
141
|
const productImages = mapProductImages(defaultVariant);
|
144
142
|
|
145
143
|
const {
|