lib/jwt/jwk/hmac.rb in jwt-2.4.0 vs lib/jwt/jwk/hmac.rb in jwt-2.4.1
- old
+ new
@@ -48,10 +48,10 @@
jwk_k = jwk_data[:k] || jwk_data['k']
jwk_kid = jwk_data[:kid] || jwk_data['kid']
raise JWT::JWKError, 'Key format is invalid for HMAC' unless jwk_k
- self.new(jwk_k, jwk_kid)
+ new(jwk_k, jwk_kid)
end
end
end
end
end