Skip to content

Commit

Permalink
Merge pull request #99 from jasonkoon/patch-1
Browse files Browse the repository at this point in the history
fix: typo in access_token
  • Loading branch information
nov authored Oct 15, 2024
2 parents e1eb8ea + a7eff44 commit 7d53b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/openid_connect/access_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def resource_request
when 200
res.body.with_indifferent_access
when 400
raise BadRequest.new('API Access Faild', res)
raise BadRequest.new('API Access Failed', res)
when 401
raise Unauthorized.new('Access Token Invalid or Expired', res)
when 403
Expand All @@ -42,4 +42,4 @@ def resource_request
end
end

require 'openid_connect/access_token/mtls'
require 'openid_connect/access_token/mtls'

0 comments on commit 7d53b79

Please sign in to comment.