Skip to content

Commit

Permalink
fix: remove User.state, its not used at all
Browse files Browse the repository at this point in the history
  • Loading branch information
pamapa committed Sep 27, 2021
1 parent 9edebc5 commit 703b941
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ export class User {
public token_type: string;
public scope: string;
public profile: any;
public state: any | undefined;
public expires_at: number;

public constructor({
id_token, session_state, access_token, refresh_token, token_type, scope, profile, expires_at, state
id_token, session_state, access_token, refresh_token, token_type, scope, profile, expires_at
}: any) {
this.id_token = id_token;
this.session_state = session_state;
Expand All @@ -27,7 +26,6 @@ export class User {
this.token_type = token_type;
this.scope = scope;
this.profile = profile;
this.state = state;
this.expires_at = expires_at;
}

Expand Down

0 comments on commit 703b941

Please sign in to comment.