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