eprolo-cli 1.0.98 → 1.0.99

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
@@ -106,7 +106,7 @@ async function postJsonWithRetry(url, body, config, method = "POST") {
106
106
  let result = await postJson(url, body, headers, method);
107
107
  if (result.data.code == '-1') {
108
108
  // 刷新 token
109
- const refreshRes = await postJson(LOGIN_API, {penApiKey: config.refreshToken});
109
+ const refreshRes = await postJson(LOGIN_API, {openApiKey: config.refreshToken});
110
110
 
111
111
  if (refreshRes.data.code == 0) {
112
112
  // 更新凭据文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.98",
3
+ "version": "1.0.99",
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"