aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-08-14 15:54:25 +0300
committerAlex S <alex.strizhakov@gmail.com>2019-08-20 12:41:10 +0300
commit43e5307d65874503125584a1110764ce9f2e7e51 (patch)
tree6e6837f798eb7fba71b6953bc6317efa88c57922
parentd28051e2847420031873c31278590567d80e4cd1 (diff)
downloadpleroma-43e5307d65874503125584a1110764ce9f2e7e51.tar.gz
like this
-rw-r--r--lib/pleroma/http/connection.ex1
-rw-r--r--lib/pleroma/http/http.ex2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/http/connection.ex b/lib/pleroma/http/connection.ex
index 20c83c572..222a8b6aa 100644
--- a/lib/pleroma/http/connection.ex
+++ b/lib/pleroma/http/connection.ex
@@ -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
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex
index 1846749c0..3ad891d11 100644
--- a/lib/pleroma/http/http.ex
+++ b/lib/pleroma/http/http.ex
@@ -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