|
|
@@ -72,7 +72,7 @@ async function getAccountInfo(cookie){
|
|
|
'Cookie': cookie,
|
|
|
'Content-Type': 'application/json',
|
|
|
},
|
|
|
- body: ``,
|
|
|
+ body: `${JSON.stringify(reqData)}`,
|
|
|
};
|
|
|
return await magicJS.http.post(options).then(response => {
|
|
|
try {
|
|
|
@@ -161,7 +161,7 @@ async function signIn(cookie){
|
|
|
'Cookie': cookie,
|
|
|
'Content-Type': 'application/json',
|
|
|
},
|
|
|
- body: `${JSON.stringify(params)}`,
|
|
|
+ body: `${JSON.stringify(reqData)}`,
|
|
|
};
|
|
|
return await magicJS.http.post(options).then(response => {
|
|
|
try {
|