Skip to content

Commit 28c6974

Browse files
committed
Refactor
1 parent bd13f8a commit 28c6974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jwt/token.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ type accessDetails struct {
2929
}
3030

3131
type AuthToken struct {
32-
AccessToken string
33-
RefreshToken string
32+
AccessToken string `json:"access_token"`
33+
RefreshToken string `json:"refresh_token"`
3434
}
3535

3636
func (t Token) createToken() (*tokenDetails, error) {

0 commit comments

Comments
 (0)