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 +1 -1
- package/package.json +1 -1
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, {
|
|
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