@itutoring/itutoring_application_js_api 1.4.16 → 1.4.18
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.
|
@@ -30,6 +30,14 @@ class TeacherProfileModule
|
|
|
30
30
|
static #IS_TEACHING_ONSITE = "IsTeachingOnsite";
|
|
31
31
|
static #SET_TEACHING_ONSITE = "SetTeachingOnsite";
|
|
32
32
|
static #REMOVE_UNAVAILABLE_DATE = "RemoveUnavailableDate";
|
|
33
|
+
static #SET_PERSONAL_INFO = "SetPersonalInfo";
|
|
34
|
+
|
|
35
|
+
static async setPersonalInfo(personalInfo)
|
|
36
|
+
{
|
|
37
|
+
await APIController.Post(this.#MODULE, this.#SET_PERSONAL_INFO, {
|
|
38
|
+
'personalInfo': JSON.stringify(personalInfo),
|
|
39
|
+
});
|
|
40
|
+
}
|
|
33
41
|
|
|
34
42
|
static async removeUnavailableDate(date)
|
|
35
43
|
{
|
|
@@ -185,7 +193,7 @@ class TeacherProfileModule
|
|
|
185
193
|
|
|
186
194
|
static async requestPersonalInfo()
|
|
187
195
|
{
|
|
188
|
-
await APIController.
|
|
196
|
+
await APIController.Get(this.#MODULE, this.#REQUEST_PERSONAL_INFO);
|
|
189
197
|
}
|
|
190
198
|
|
|
191
199
|
static async getPersonalInfo(token)
|