lib/applicaster/accounts.rb in omniauth-applicaster-1.6.1 vs lib/applicaster/accounts.rb in omniauth-applicaster-1.7.0
- old
+ new
@@ -40,10 +40,10 @@
conn.response :json, content_type: /\bjson$/
# conn.response :logger, Rails.logger
# conn.response :logger, Logger.new(STDOUT)
conn.response :raise_error
- conn.adapter Faraday.default_adapter
+ conn.adapter config.faraday_adapter
end
end
def user_from_token(token)
Applicaster::Accounts::User.new(