Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasjpr committed Oct 11, 2024
1 parent 617e8b6 commit acb64e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/support/handlers_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module Authly

describe "RevokeHandler" do
it "returns success message for valid token revocation" do
access_token = Authly::AccessToken.new( "1", "read").access_token
access_token = Authly::AccessToken.new("1", "read").access_token
response = HTTP::Client.post("#{BASE_URI}/revoke", form: {"token" => access_token})
response.status_code.should eq 200
response.body.should eq "Token revoked successfully"
Expand Down
2 changes: 1 addition & 1 deletion src/authly/code.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Authly

def jwt
Authly.jwt_encode({
"jti" => Random::Secure.hex(32),
"jti" => Random::Secure.hex(32),
"code" => code,
"challenge" => challenge,
"method" => method,
Expand Down

0 comments on commit acb64e5

Please sign in to comment.