@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.
Files changed (2) hide show
  1. package/apiController.js +3 -1
  2. 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(data);
191
+ request.send(args);
190
192
  }
191
193
  });
192
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",