@xuda.io/xuda-worker-bundle-min 1.3.613 → 1.3.615
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/index.js +3 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1106,17 +1106,12 @@ func.common.perform_rpi_request = async function (
|
|
|
1106
1106
|
headers: {
|
|
1107
1107
|
Accept: "application/json",
|
|
1108
1108
|
"Content-Type": "application/json",
|
|
1109
|
+
"xu-token": _session.opt.gtp_token,
|
|
1110
|
+
"xu-app-token": _session.opt.token,
|
|
1109
1111
|
},
|
|
1110
1112
|
body: JSON.stringify(data),
|
|
1111
1113
|
});
|
|
1112
|
-
|
|
1113
|
-
// method: opt.type ? opt.type : "POST",
|
|
1114
|
-
// headers: {
|
|
1115
|
-
// Accept: "application/json",
|
|
1116
|
-
// "Content-Type": "application/json",
|
|
1117
|
-
// },
|
|
1118
|
-
// body: JSON.stringify(data),
|
|
1119
|
-
// });
|
|
1114
|
+
|
|
1120
1115
|
if (!response.ok) {
|
|
1121
1116
|
debugger;
|
|
1122
1117
|
throw "";
|