Skip to content

Commit d3ca514

Browse files
committed
fix linter warning
1 parent 26ed0ed commit d3ca514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/webserver/jwt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func validateToken(r *http.Request) (err error) {
9494
}
9595

9696
_, err = jwt.Parse(t,
97-
func(token *jwt.Token) (any, error) {
97+
func(_ *jwt.Token) (any, error) {
9898
return sampleSecretKey, nil
9999
},
100100
jwt.WithExpirationRequired(),

0 commit comments

Comments
 (0)