@itutoring/itutoring_application_js_api 1.4.12 → 1.4.14
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.
|
@@ -115,7 +115,7 @@ class TeacherProfileModule
|
|
|
115
115
|
static async addUnavailableTimeInterval(date, from, to, id)
|
|
116
116
|
{
|
|
117
117
|
await APIController.Post(this.#MODULE, this.#ADD_UNAVAILABLE_TIME_INTERVAL, {
|
|
118
|
-
'
|
|
118
|
+
'date': date,
|
|
119
119
|
'from': from,
|
|
120
120
|
'to': to,
|
|
121
121
|
'id': id,
|
|
@@ -125,7 +125,7 @@ class TeacherProfileModule
|
|
|
125
125
|
static async removeUnavailableTimeInterval(date, id)
|
|
126
126
|
{
|
|
127
127
|
await APIController.Post(this.#MODULE, this.#REMOVE_UNAVAILABLE_TIME_INTERVAL, {
|
|
128
|
-
'
|
|
128
|
+
'date': date,
|
|
129
129
|
'id': id,
|
|
130
130
|
});
|
|
131
131
|
}
|
|
@@ -192,7 +192,7 @@ class TeacherProfileModule
|
|
|
192
192
|
static async getMaxEvents()
|
|
193
193
|
{
|
|
194
194
|
var data = await APIController.Get(this.#MODULE, this.#GET_MAX_EVENTS);
|
|
195
|
-
return data;
|
|
195
|
+
return parseInt(data);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
static async setMaxEvents(maxEvents)
|