@itutoring/itutoring_application_js_api 1.6.30 → 1.6.32

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 +17 -12
  2. package/package.json +1 -1
package/apiController.js CHANGED
@@ -178,12 +178,14 @@ class APIController
178
178
  {
179
179
  APICache.Cache(module + method + cacheSuffix, response);
180
180
  }
181
- APIController.LastCall = {
182
- "type": "GET",
183
- "module": module,
184
- "method": method,
185
- "data": data,
186
- }
181
+ if (response['conf_request'] !== undefined)
182
+ APIController.LastCall = {
183
+ "type": "GET",
184
+ "module": module,
185
+ "method": method,
186
+ "data": data,
187
+ }
188
+
187
189
  resolve(response);
188
190
  }
189
191
  }
@@ -242,12 +244,15 @@ class APIController
242
244
  {
243
245
  APICache.Cache(module + method, response);
244
246
  }
245
- APIController.LastCall = {
246
- "type": "POST",
247
- "module": module,
248
- "method": method,
249
- "data": data,
250
- }
247
+
248
+ if (response['conf_request'] !== undefined)
249
+ APIController.LastCall = {
250
+ "type": "POST",
251
+ "module": module,
252
+ "method": method,
253
+ "data": data,
254
+ }
255
+
251
256
  resolve(response);
252
257
  }
253
258
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.30",
3
+ "version": "1.6.32",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",