@itutoring/itutoring_application_js_api 1.0.19 → 1.0.21

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 +1 -5
  2. package/package.json +1 -1
package/apiController.js CHANGED
@@ -99,11 +99,6 @@ class APIController
99
99
  var formData = new FormData();
100
100
  formData.append("file", file);
101
101
 
102
- if (data != null | undefined)
103
- for (const [key, value] of Object.entries(data))
104
- {
105
- formData.append(key, value);
106
- }
107
102
 
108
103
  }
109
104
 
@@ -128,6 +123,7 @@ class APIController
128
123
 
129
124
  if (file != null)
130
125
  {
126
+ console.log(formData);
131
127
  request.send(formData);
132
128
  }
133
129
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",