aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/http/http.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex
index 3ad891d11..a6c325017 100644
--- a/lib/pleroma/http/http.ex
+++ b/lib/pleroma/http/http.ex
@@ -41,6 +41,8 @@ defmodule Pleroma.HTTP do
options
end
+ IO.inspect(options)
+
params = Keyword.get(options, :params, [])
%{}
@@ -62,7 +64,7 @@ defmodule Pleroma.HTTP do
end
defp get_conn_for_gun(url, options) do
- case Pleroma.Gun.Connections.get_conn(url) do
+ case Pleroma.Gun.Connections.try_to_get_gun_conn(url) do
nil ->
options