Skip to content

Commit

Permalink
fix(token): fix methods getStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed Mar 11, 2020
1 parent 342320c commit 841ed1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class Token {
}

getStatus () {
return new TokenStatus(this.get(), this._getExpiration)
return new TokenStatus(this.get(), this._getExpiration())
}

refreshAt () {
Expand Down Expand Up @@ -194,7 +194,7 @@ export class RefreshToken {
}

getStatus () {
return new TokenStatus(this.get(), this._getExpiration)
return new TokenStatus(this.get(), this._getExpiration())
}
}

Expand Down

0 comments on commit 841ed1c

Please sign in to comment.