diff --git a/lib/ueberauth/strategy/twitter.ex b/lib/ueberauth/strategy/twitter.ex index 0d49198..4e1663a 100644 --- a/lib/ueberauth/strategy/twitter.ex +++ b/lib/ueberauth/strategy/twitter.ex @@ -126,6 +126,6 @@ defmodule Ueberauth.Strategy.Twitter do end defp json_library do - Application.get_env(:ueberauth, :json_library) + Ueberauth.Config.json_library() || Jason end end