Skip to content

Commit

Permalink
Merge pull request #95 from codesandbox/draft/gracious-andras
Browse files Browse the repository at this point in the history
Prefer Local Over Global Configuration
  • Loading branch information
yordis authored Sep 23, 2022
2 parents 341b289 + 0d264f0 commit d2f890c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ueberauth/strategy/google/oauth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Ueberauth.Strategy.Google.OAuth do
"""
def client(opts \\ []) do
config = Application.get_env(:ueberauth, __MODULE__, [])
opts = @defaults |> Keyword.merge(opts) |> Keyword.merge(config) |> resolve_values()
opts = @defaults |> Keyword.merge(config) |> Keyword.merge(opts) |> resolve_values()
json_library = Ueberauth.json_library()

OAuth2.Client.new(opts)
Expand Down

0 comments on commit d2f890c

Please sign in to comment.