@itutoring/itutoring_application_js_api 1.4.15 → 1.4.17

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.
@@ -160,14 +160,14 @@ class TeacherProfileModule
160
160
  static async setOnsitePlace(places)
161
161
  {
162
162
  await APIController.Post(this.#MODULE, this.#SET_ONSITE_PLACE, {
163
- 'place': places,
163
+ 'place': JSON.stringify(places),
164
164
  });
165
165
  }
166
166
 
167
167
  static async removeOnsitePlace(places)
168
168
  {
169
169
  await APIController.Post(this.#MODULE, this.#REMOVE_ONSITE_PLACE, {
170
- 'place': places,
170
+ 'place': JSON.stringify(places),
171
171
  });
172
172
  }
173
173
 
@@ -185,7 +185,7 @@ class TeacherProfileModule
185
185
 
186
186
  static async requestPersonalInfo()
187
187
  {
188
- await APIController.Post(this.#MODULE, this.#REQUEST_PERSONAL_INFO);
188
+ await APIController.Get(this.#MODULE, this.#REQUEST_PERSONAL_INFO);
189
189
  }
190
190
 
191
191
  static async getPersonalInfo(token)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.4.15",
3
+ "version": "1.4.17",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",