From: Dessalines Date: Fri, 19 Mar 2021 14:22:47 +0000 (-0400) Subject: Updating claims. X-Git-Url: http://these/git/%22%7Burl%7D/static/git-logo.png?a=commitdiff_plain;h=4568e5a5abccce570e53024207c55ce746c4bea4;p=lemmy-ui.git Updating claims. --- diff --git a/src/shared/services/UserService.ts b/src/shared/services/UserService.ts index acef361..286b468 100644 --- a/src/shared/services/UserService.ts +++ b/src/shared/services/UserService.ts @@ -5,8 +5,9 @@ import jwt_decode from "jwt-decode"; import { Subject, BehaviorSubject } from "rxjs"; interface Claims { - local_user_id: number; + sub: number; iss: string; + iat: number; } export class UserService { diff --git a/tsconfig.json b/tsconfig.json index aae5ae7..cd9bc8d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,6 @@ }, "include": [ "src/**/*", - "node_modules/inferno/dist/index.d.ts", + "node_modules/inferno/dist/index.d.ts" ] }