eprolo-cli 1.0.48 → 1.0.49
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
|
@@ -86,8 +86,8 @@ function postJson(url, body, headers = {}) {
|
|
|
86
86
|
// ---------------------------------------------------------------------------
|
|
87
87
|
|
|
88
88
|
async function postJsonWithRetry(url, body, config) {
|
|
89
|
-
const headers = {};
|
|
90
|
-
if (config.accessToken) headers["accessToken"]
|
|
89
|
+
const headers = {'liu':'123'};
|
|
90
|
+
if (config.accessToken) headers["accessToken"] = `${config.accessToken}`;
|
|
91
91
|
|
|
92
92
|
let result = await postJson(url, body, headers);
|
|
93
93
|
|
package/package.json
CHANGED