aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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