mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Updating claims.
This commit is contained in:
parent
45445fe0a3
commit
4568e5a5ab
2 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,9 @@ import jwt_decode from "jwt-decode";
|
||||||
import { Subject, BehaviorSubject } from "rxjs";
|
import { Subject, BehaviorSubject } from "rxjs";
|
||||||
|
|
||||||
interface Claims {
|
interface Claims {
|
||||||
local_user_id: number;
|
sub: number;
|
||||||
iss: string;
|
iss: string;
|
||||||
|
iat: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class UserService {
|
export class UserService {
|
||||||
|
|
|
@ -22,6 +22,6 @@
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*",
|
"src/**/*",
|
||||||
"node_modules/inferno/dist/index.d.ts",
|
"node_modules/inferno/dist/index.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue