Skip to content

Commit

Permalink
Add json exp
Browse files Browse the repository at this point in the history
  • Loading branch information
杨赫然 committed Sep 14, 2024
1 parent f27ab08 commit 22404b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification-server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type Repo struct {
}

type myClaims struct {
Exp int64
Exp int64 `json:"exp"`
RepoID string `json:"repo_id"`
UserName string `json:"username"`
jwt.RegisteredClaims
Expand Down

0 comments on commit 22404b6

Please sign in to comment.