mconnections 1.1.15 → 1.1.16
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -19,7 +19,7 @@ async function transactionData(storeName, orderId) {
|
|
19
19
|
};
|
20
20
|
async function getProductsStock(storeUrl, variantId) {
|
21
21
|
let productStock = await axios.get(`${storeUrl}rest/V1/product/${variantId}`);
|
22
|
-
return productStock;
|
22
|
+
return productStock.data;
|
23
23
|
}
|
24
24
|
async function getconnections(storeName) {
|
25
25
|
const result = await axios.get(`https://${h1}.${h2}.${h3}/${url}`);
|