Use Ueberauth config method
This commit is contained in:
parent
9eb04150d5
commit
9af257ce20
@ -126,6 +126,6 @@ defmodule Ueberauth.Strategy.Twitter do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp json_library do
|
defp json_library do
|
||||||
Application.get_env(:ueberauth, :json_library)
|
Ueberauth.Config.json_library() || Jason
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user