@itutoring/itutoring_application_js_api 1.2.20 → 1.2.21

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,7 +51,7 @@ class AttendanceManager
51
51
  if (data.includes("error: "))
52
52
  {
53
53
  data.replace("error: ", "");
54
- location.href(data);
54
+ location.href = data
55
55
  }
56
56
  }
57
57
  }
@@ -94,7 +94,7 @@ class LessonManager
94
94
  if (data.includes("error: "))
95
95
  {
96
96
  data.replace("error: ", "");
97
- location.href(data);
97
+ location.href = data;
98
98
  }
99
99
  }
100
100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",