Skip to content

Commit

Permalink
Fix validation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroStepaniuk authored Mar 13, 2020
1 parent 348e254 commit 97fec93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth2_google_token_info_v3/https_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def response
end

def valid?
!!response[:error_description]
response.key?(:error_description)
end

def subject
Expand Down

0 comments on commit 97fec93

Please sign in to comment.