@itutoring/itutoring_application_js_api 1.3.20 → 1.3.22
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/apiController.js +2 -2
- package/package.json +1 -1
package/apiController.js
CHANGED
|
@@ -50,7 +50,7 @@ class APIController
|
|
|
50
50
|
var urlParams = new URLSearchParams(window.location.search);
|
|
51
51
|
if (urlParams.has("o"))
|
|
52
52
|
{
|
|
53
|
-
source = urlParams.get("o");
|
|
53
|
+
var source = urlParams.get("o");
|
|
54
54
|
if (CookiesManager.GetCookie("o") == null)
|
|
55
55
|
{
|
|
56
56
|
var date = new Date();
|
|
@@ -60,7 +60,7 @@ class APIController
|
|
|
60
60
|
}
|
|
61
61
|
else
|
|
62
62
|
{
|
|
63
|
-
this.UserSource = CookiesManager.GetCookie("
|
|
63
|
+
this.UserSource = CookiesManager.GetCookie("o");
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|