Skip to content

Commit

Permalink
chore: fix ameba issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Nov 14, 2022
1 parent a990c77 commit b34ee21
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 @@ -61,7 +61,7 @@ module JWT
end
key = yield header, payload

verify(key.not_nil!, algorithm.not_nil!, verify_data, encoded_signature) if verify
verify(key, algorithm, verify_data, encoded_signature) if verify
validate(payload, options) if validate

{payload, header}
Expand Down

0 comments on commit b34ee21

Please sign in to comment.