Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-mithu committed Dec 8, 2021
1 parent bd13f8a commit 28c6974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwt/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ type accessDetails struct {
}

type AuthToken struct {
AccessToken string
RefreshToken string
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
}

func (t Token) createToken() (*tokenDetails, error) {
Expand Down

0 comments on commit 28c6974

Please sign in to comment.