@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.
- package/apiController.js +17 -12
- 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
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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
|
}
|