@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 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.44",
3
+ "version": "1.6.45",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",