lib/real_savvy/jwt/token.rb in real_savvy-0.0.7 vs lib/real_savvy/jwt/token.rb in real_savvy-0.0.8
- old
+ new
@@ -24,10 +24,10 @@
rescue ::JWT::DecodeError => e
raise ::RealSavvy::JWT::BadCredentials.new(e.message)
end
def validate_token
- ::RealSavvy::JWT::Config.validate_token(token)
+ ::RealSavvy::JWT::Config.validate_token(self)
end
end
end
end