@itutoring/itutoring_application_js_api 1.4.8 → 1.4.9
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/apiController.js +1 -3
- package/package.json +1 -1
package/apiController.js
CHANGED
|
@@ -143,8 +143,6 @@ class APIController
|
|
|
143
143
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
var args = APIController.GetArgsFromArray(data);
|
|
147
|
-
|
|
148
146
|
var request = new XMLHttpRequest();
|
|
149
147
|
request.open("POST", APIController.REST_URL() + module + "/" + method, true);
|
|
150
148
|
|
|
@@ -188,7 +186,7 @@ class APIController
|
|
|
188
186
|
else
|
|
189
187
|
{
|
|
190
188
|
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
|
191
|
-
request.send(
|
|
189
|
+
request.send(data);
|
|
192
190
|
}
|
|
193
191
|
});
|
|
194
192
|
}
|