Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/oauth2/access_token/access_token.cr
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ abstract class OAuth2::AccessToken
when "mac"
Mac.new(access_token, expires_in, mac_algorithm.not_nil!, mac_key.not_nil!, refresh_token, scope, Time.now.epoch, extra)
else
raise "Uknown token_type in access token json: #{token_type}"
raise "Unknown token_type in access token json: #{token_type}"
end
end

2 changes: 1 addition & 1 deletion src/oauth2/error.cr
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ class OAuth2::Error < Exception
when "error" then error = pull.read_string
when "error_description" then error_description = pull.read_string
else
raise "Uknown key in oauth2 error json: #{key}"
raise "Unknown key in oauth2 error json: #{key}"
end
end

0 comments on commit ccda23a

Please sign in to comment.