Skip to content

Commit

Permalink
chore: fix ameba warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Feb 5, 2023
1 parent b34ee21 commit e5c7d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jwt.cr
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module JWT
raise DecodeError.new("Invalid JWT payload", error)
end

def decode(token : String, algorithm : Algorithm? = nil, verify = true, validate = true, **options, &block) : Tuple
def decode(token : String, algorithm : Algorithm? = nil, verify = true, validate = true, **options, &) : Tuple
verify_data, _, encoded_signature = token.rpartition('.')

check_verify_data(verify_data)
Expand Down

0 comments on commit e5c7d7d

Please sign in to comment.