@itutoring/itutoring_application_js_api 1.6.44 → 1.6.45
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.
- package/modules/Models.js +2 -1
- package/package.json +1 -1
package/modules/Models.js
CHANGED
|
@@ -209,10 +209,11 @@ class Models
|
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
static async setLecture(lecture)
|
|
212
|
+
static async setLecture(lecture, draft = false)
|
|
213
213
|
{
|
|
214
214
|
return await APIController.Post(this.#MODULE, this.#SET_LECTURE, {
|
|
215
215
|
'model': JSON.stringify(lecture),
|
|
216
|
+
'draft': draft,
|
|
216
217
|
});
|
|
217
218
|
}
|
|
218
219
|
|