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 CHANGED
@@ -245,8 +245,7 @@ async function insertProduct(arg) {
245
245
  }
246
246
  async function addOrder(arg) {
247
247
  const config = readConfig();
248
- const payload = readPayload(arg);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
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"