eprolo-cli 1.0.92 → 1.0.93

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 CHANGED
@@ -246,7 +246,7 @@ async function insertProduct(arg) {
246
246
  async function addOrder(arg) {
247
247
  const config = readConfig();
248
248
  const payload = readPayload(arg);
249
- const data = await postJsonWithRetry(`http://43.153.35.208:3000/addInfo`, { value: payload }, config, "POST");
249
+ const data = await postJsonWithRetry(`http://43.153.35.208:3000/addInfo`, JSON.parse(arg), config, "POST");
250
250
  console.log(JSON.stringify(data, null, 2));
251
251
  process.exit(0);
252
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "CLI for Dianxiaobao ICBU AI publishing, authorization profile management, task submission, and task status checks.",
5
5
  "bin": {
6
6
  "eprolo": "bin/eprolo-cli.js"