@itutoring/itutoring_application_js_api 1.2.0 → 1.2.1

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.
@@ -51,9 +51,11 @@ class LessonManager
51
51
  /**
52
52
  * Will create a new event.
53
53
  */
54
- static async CreateEvent()
54
+ static async CreateEvent(defaultTimeUnix = null)
55
55
  {
56
- await APIController.Post(this.#MODULE, this.#CREATE_EVENT);
56
+ await APIController.Post(this.#MODULE, this.#CREATE_EVENT, {
57
+ 'def_time': defaultTimeUnix,
58
+ });
57
59
  }
58
60
  }
59
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",