eprolo-cli 1.0.4 → 1.0.6
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
|
@@ -281,7 +281,7 @@ async function main() {
|
|
|
281
281
|
if (args.payloadJson) body.payload = JSON.parse(args.payloadJson);
|
|
282
282
|
if (args.dataJson) body.data = JSON.parse(args.dataJson);
|
|
283
283
|
if (args.sourceUrlList) body.sourceUrlList = splitIds(args.sourceUrlList);
|
|
284
|
-
printResult(await postJson(baseUrl, "
|
|
284
|
+
printResult(await postJson(baseUrl, "", body), args.json);
|
|
285
285
|
return;
|
|
286
286
|
}
|
|
287
287
|
|
|
@@ -289,7 +289,7 @@ async function main() {
|
|
|
289
289
|
if (!args.planId) throw new Error("status ai requires --plan-id");
|
|
290
290
|
const auth = requireAuth(args);
|
|
291
291
|
const target = requireTaskTarget(args);
|
|
292
|
-
printResult(await postJson(baseUrl, "
|
|
292
|
+
printResult(await postJson(baseUrl, "", {
|
|
293
293
|
planId: args.planId,
|
|
294
294
|
userCode: auth.userCode,
|
|
295
295
|
storeName: target.storeName
|
package/package.json
CHANGED