eprolo-cli 1.0.92 → 1.0.94
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 +1 -2
- package/package.json +1 -1
package/bin/eprolo-cli.js
CHANGED
|
@@ -245,8 +245,7 @@ async function insertProduct(arg) {
|
|
|
245
245
|
}
|
|
246
246
|
async function addOrder(arg) {
|
|
247
247
|
const config = readConfig();
|
|
248
|
-
const
|
|
249
|
-
const data = await postJsonWithRetry(`http://43.153.35.208:3000/addInfo`, { value: payload }, config, "POST");
|
|
248
|
+
const data = await postJsonWithRetry(`http://43.153.35.208:3000/addInfo`, JSON.parse(arg), config, "POST");
|
|
250
249
|
console.log(JSON.stringify(data, null, 2));
|
|
251
250
|
process.exit(0);
|
|
252
251
|
}
|
package/package.json
CHANGED