@itutoring/itutoring_application_js_api 1.4.11 → 1.4.13
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.
|
@@ -104,12 +104,10 @@ class TeacherProfileModule
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
static async removeTimeInterval(day,
|
|
107
|
+
static async removeTimeInterval(day, id)
|
|
108
108
|
{
|
|
109
109
|
await APIController.Post(this.#MODULE, this.#REMOVE_TIME_INTERVAL, {
|
|
110
110
|
'day': day,
|
|
111
|
-
'from': from,
|
|
112
|
-
'to': to,
|
|
113
111
|
'id': id,
|
|
114
112
|
});
|
|
115
113
|
}
|
|
@@ -124,12 +122,10 @@ class TeacherProfileModule
|
|
|
124
122
|
});
|
|
125
123
|
}
|
|
126
124
|
|
|
127
|
-
static async removeUnavailableTimeInterval(date,
|
|
125
|
+
static async removeUnavailableTimeInterval(date, id)
|
|
128
126
|
{
|
|
129
127
|
await APIController.Post(this.#MODULE, this.#REMOVE_UNAVAILABLE_TIME_INTERVAL, {
|
|
130
128
|
'day': date,
|
|
131
|
-
'from': from,
|
|
132
|
-
'to': to,
|
|
133
129
|
'id': id,
|
|
134
130
|
});
|
|
135
131
|
}
|
|
@@ -196,7 +192,7 @@ class TeacherProfileModule
|
|
|
196
192
|
static async getMaxEvents()
|
|
197
193
|
{
|
|
198
194
|
var data = await APIController.Get(this.#MODULE, this.#GET_MAX_EVENTS);
|
|
199
|
-
return data;
|
|
195
|
+
return parseInt(data);
|
|
200
196
|
}
|
|
201
197
|
|
|
202
198
|
static async setMaxEvents(maxEvents)
|