|
|
@@ -275,7 +275,7 @@ async function getAuthCode() {
|
|
|
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
|
|
|
},
|
|
|
body: magicJS.objToQueryStr(body),
|
|
|
- }
|
|
|
+ };
|
|
|
await magicJS.http.post(myRequest).then(response => {
|
|
|
try {
|
|
|
const body = response.body;
|
|
|
@@ -1325,7 +1325,7 @@ function getWbiSigns(requestParams) {
|
|
|
|
|
|
|
|
|
Main()
|
|
|
-.catch((e) => magicJS.logger.error(`Error: ${e}`))
|
|
|
+.catch((e) => magicJS.logger.error(`-\n ${e}`))
|
|
|
.finally(() => magicJS.done());
|
|
|
|
|
|
//---SyncByPyScript---MagicJS3-start
|