like this
This commit is contained in:
parent
9f2e2dea65
commit
0c68cf4357
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user