eprolo-cli 1.0.51 → 1.0.52
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
|
@@ -189,8 +189,8 @@ async function queryOrders() {
|
|
|
189
189
|
console.error(JSON.stringify({ success: false, errorMessage: "未授权,请先登录" }));
|
|
190
190
|
process.exit(1);
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
const data = await postJsonWithRetry(ORDERS_API, {id
|
|
192
|
+
const id = process.env.orderId;
|
|
193
|
+
const data = await postJsonWithRetry(ORDERS_API, {id}, config);
|
|
194
194
|
console.log(JSON.stringify(data, null, 2));
|
|
195
195
|
process.exit(0);
|
|
196
196
|
}
|
package/package.json
CHANGED