Skip to content

Commit

Permalink
Merge pull request #135 from fuzzkat/master
Browse files Browse the repository at this point in the history
Reverses logic in README token_expired? example
  • Loading branch information
SerKnight authored Feb 24, 2021
2 parents df41fc6 + 9f05981 commit 75947b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ require 'jwt'

def token_expired?
token_expiry = Time.at(decoded_access_token['exp'])
token_expiry > Time.now
token_expiry < Time.now
end

def decoded_access_token
Expand Down

0 comments on commit 75947b1

Please sign in to comment.