aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/auth/jwt.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 20:00:48 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 20:00:48 +0900
commite9f88eefec3e4098e9374e19c9e0f7a52c319f26 (patch)
tree7c91a689aaea376985ec579d71c1169fdc2ee47a /backend/auth/jwt.go
parent9e5500269746d3826382a6dec78f0e82cfda0d42 (diff)
parentef1577a212d1b5c6f908a59b943a512d33d312fe (diff)
downloadphperkaigi-2025-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.tar.gz
phperkaigi-2025-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.tar.zst
phperkaigi-2025-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.zip
Merge branch 'feat/golangci-lint'
Diffstat (limited to 'backend/auth/jwt.go')
-rw-r--r--backend/auth/jwt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/auth/jwt.go b/backend/auth/jwt.go
index 966cc5f..e1852da 100644
--- a/backend/auth/jwt.go
+++ b/backend/auth/jwt.go
@@ -50,7 +50,7 @@ func NewShortLivedJWT(claims *JWTClaims) (string, error) {
func ParseJWT(token string) (*JWTClaims, error) {
claims := new(JWTClaims)
- t, err := jwt.ParseWithClaims(token, claims, func(t *jwt.Token) (interface{}, error) {
+ t, err := jwt.ParseWithClaims(token, claims, func(*jwt.Token) (interface{}, error) {
return []byte("TODO"), nil
})
if err != nil {