Skip to content

Commit

Permalink
ensure the omniauth_provider_info is get when put a string argument (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni authored Oct 31, 2023
1 parent efe37d0 commit c83d5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def omniauth_provider_info(strategy)
end

def omniauth_token_provider(strategy)
omniauth_provider_info(strategy).keys.first
omniauth_provider_info(strategy.to_sym).keys.first
end

def isOwner?(id)
Expand Down

0 comments on commit c83d5e0

Please sign in to comment.