Skip to content

Commit

Permalink
Fix a couple of typos
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Jun 3, 2017
1 parent 041199c commit ccda23a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/oauth2/access_token/access_token.cr
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/oauth2/error.cr
Expand Up @@ -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

Expand Down

0 comments on commit ccda23a

Please sign in to comment.