Skip to content

Commit acb64e5

Browse files
committed
Code formatting
1 parent 617e8b6 commit acb64e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/support/handlers_spec.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module Authly
9595

9696
describe "RevokeHandler" do
9797
it "returns success message for valid token revocation" do
98-
access_token = Authly::AccessToken.new( "1", "read").access_token
98+
access_token = Authly::AccessToken.new("1", "read").access_token
9999
response = HTTP::Client.post("#{BASE_URI}/revoke", form: {"token" => access_token})
100100
response.status_code.should eq 200
101101
response.body.should eq "Token revoked successfully"

src/authly/code.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module Authly
2424

2525
def jwt
2626
Authly.jwt_encode({
27-
"jti" => Random::Secure.hex(32),
27+
"jti" => Random::Secure.hex(32),
2828
"code" => code,
2929
"challenge" => challenge,
3030
"method" => method,

0 commit comments

Comments
 (0)