@nuskin/ns-shop 7.1.0 → 7.1.1-pur-813.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ let ProductService = function() {
|
|
|
57
57
|
const url = UrlService.getSiteUrl() + "/content/products/" + tokenizedSku + "/" +
|
|
58
58
|
options.language + ".service." + options.country + ".json";
|
|
59
59
|
const response = await axios.get(url);
|
|
60
|
-
retVal = createDataFromSkuSearch(response, options);
|
|
60
|
+
retVal = createDataFromSkuSearch(response.data, options);
|
|
61
61
|
}
|
|
62
62
|
} catch (err) {
|
|
63
63
|
console.error("There was a problem retrieving product data", err);
|