like this

This commit is contained in:
Alex S 2019-08-14 15:54:25 +03:00 committed by Ariadne Conill
parent 9f2e2dea65
commit 0c68cf4357
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ defmodule Pleroma.HTTP.Connection do
middleware = [Tesla.Middleware.FollowRedirects]
adapter = Application.get_env(:tesla, :adapter)
options = options(opts)
IO.inspect(options)
Tesla.client(middleware, {adapter, options})
end

View File

@ -62,7 +62,7 @@ defmodule Pleroma.HTTP do
end
defp get_conn_for_gun(url, options) do
case Pleroma.Gun.Connections.try_to_get_gun_conn(url) do
case Pleroma.Gun.Connections.get_conn(url) do
nil ->
options