Update jwt_adapter.go

This commit is contained in:
Mikhail 2023-03-09 12:47:57 +00:00
parent 87cad6d1ef
commit 61bbae034d

@ -69,7 +69,7 @@ func Decode(tokenString string) (*JwtAdapter, error) {
return nil, fmt.Errorf("unexpected signing method: %v", token.Header["alg"])
}
return jwy.ParseRSAPublicKeyFromPEM([]byte(accessSecret))
return jwt.ParseRSAPublicKeyFromPEM([]byte(accessSecret))
})
if err != nil {