eprolo-cli 1.0.110 → 1.0.111
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/bin/eprolo-cli.js +2 -2
- package/package.json +1 -1
package/bin/eprolo-cli.js
CHANGED
|
@@ -286,7 +286,7 @@ async function insertProduct(arg) {
|
|
|
286
286
|
process.exit(0);
|
|
287
287
|
}
|
|
288
288
|
} else {
|
|
289
|
-
console.log(
|
|
289
|
+
console.log(data);
|
|
290
290
|
process.exit(0);
|
|
291
291
|
}
|
|
292
292
|
}
|
|
@@ -338,7 +338,7 @@ async function addOrder(arg) {
|
|
|
338
338
|
console.log("-------222----------", newOrder);
|
|
339
339
|
// const data = await postJsonWithRetry(`http://43.153.35.208:3000/addInfo`, newOrder, config, "POST");
|
|
340
340
|
const data = await postJsonWithRetry(BASE_URL + '/add_order.html', newOrder, config, "POST");
|
|
341
|
-
console.log(
|
|
341
|
+
console.log(data);
|
|
342
342
|
process.exit(0);
|
|
343
343
|
}
|
|
344
344
|
// ---------------------------------------------------------------------------
|
package/package.json
CHANGED