ntk-cms-api 18.3.465 → 18.3.466
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/fesm2020/ntk-cms-api.mjs
CHANGED
|
@@ -1234,7 +1234,7 @@ class ApiServerBase {
|
|
|
1234
1234
|
const token = localStorage.getItem(this.keyJwt);
|
|
1235
1235
|
if (token && token.length > 0) {
|
|
1236
1236
|
var ret = JSON.parse(token);
|
|
1237
|
-
if (!ret || ret.accessToken || ret.accessToken.length == 0)
|
|
1237
|
+
if (!ret || !ret.accessToken || ret.accessToken.length == 0)
|
|
1238
1238
|
return undefined;
|
|
1239
1239
|
return ret;
|
|
1240
1240
|
}
|