Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Remove an unnecessary case that raw_info is nil.
Browse files Browse the repository at this point in the history
  • Loading branch information
koshilife committed Mar 6, 2021
1 parent b03fba7 commit 9d582f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/omniauth-calendly/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module OmniAuth
module Calendly
VERSION = '1.0.2'
VERSION = '1.0.3'
end
end
2 changes: 0 additions & 2 deletions lib/omniauth/strategies/calendly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ def raw_info
end

def extract_uid
return unless raw_info.respond_to?(:dig)

uri = raw_info.dig('resource', 'uri')
return unless uri

Expand Down

0 comments on commit 9d582f4

Please sign in to comment.