@itutoring/itutoring_application_js_api 1.4.0 → 1.4.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.
@@ -1,3 +1,5 @@
1
+ import APIController from "../apiController";
2
+
1
3
  class TeacherProfileModule
2
4
  {
3
5
  static #MODULE = "TeacherProfileModule";
@@ -120,9 +122,9 @@ class TeacherProfileModule
120
122
  });
121
123
  }
122
124
 
123
- static async uploadProfilePicture()
125
+ static async uploadProfilePicture(photoFile)
124
126
  {
125
- // implementation goes here
127
+ await APIController.Post(this.#MODULE, this.#UPLOAD_PROFILE_PICTURE, null, photoFile);
126
128
  }
127
129
 
128
130
  static async setOnsitePlace(places)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",