@itutoring/itutoring_application_js_api 1.17.5 → 1.18.1

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 +5 -0
  2. package/package.json +1 -1
package/apiController.js CHANGED
@@ -170,6 +170,11 @@ class APIController
170
170
 
171
171
  return (JSON.stringify(error));
172
172
  }
173
+
174
+ if (json.code === 422)
175
+ {
176
+ return ({ "form_errors": json.form_errors });
177
+ }
173
178
  }
174
179
 
175
180
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.17.5",
3
+ "version": "1.18.1",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",