@itutoring/itutoring_application_js_api 1.2.8 → 1.2.10

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.
@@ -11,7 +11,7 @@ class AttendanceManager
11
11
  static async RetriveAllEvents()
12
12
  {
13
13
  var data = await APIController.Get(this.#MODULE, this.#RETRIVE_ALL_EVENTS);
14
-
14
+ data = JSON.parse(data);
15
15
  var events = [];
16
16
  for (const [key, value] of Object.entries(data))
17
17
  {
@@ -19,7 +19,7 @@ class AttendanceManager
19
19
  for (const [k1, v1] of Object.entries(value))
20
20
  {
21
21
  var ev = new AttendanceEvent();
22
- console.log(v1['EventName']);
22
+ console.log(value);
23
23
  ev.CreateFromJSON(JSON.parse(v1));
24
24
  atEvents.push(ev);
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",