taxtank-core 0.0.3 → 0.1.3
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.
|
@@ -7385,7 +7385,7 @@
|
|
|
7385
7385
|
localStorage.removeItem(NAME_REFRESH_TOKEN);
|
|
7386
7386
|
};
|
|
7387
7387
|
JwtService.prototype.getUser = function () {
|
|
7388
|
-
return
|
|
7388
|
+
return this.decodeToken();
|
|
7389
7389
|
};
|
|
7390
7390
|
JwtService.prototype.isMe = function (userId) {
|
|
7391
7391
|
return this.getUser().id === userId;
|