From db848b2a13b4d47870dcff1c6d8e26f0300ca0a9 Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 14 Aug 2019 14:41:08 +0300 Subject: [PATCH] tesla adapter options debug --- lib/pleroma/http/http.ex | 2 -- lib/pleroma/reverse_proxy/client/tesla.ex | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index a6c325017..1846749c0 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -41,8 +41,6 @@ defmodule Pleroma.HTTP do options end - IO.inspect(options) - params = Keyword.get(options, :params, []) %{} diff --git a/lib/pleroma/reverse_proxy/client/tesla.ex b/lib/pleroma/reverse_proxy/client/tesla.ex index fad577ec1..282f9dcb7 100644 --- a/lib/pleroma/reverse_proxy/client/tesla.ex +++ b/lib/pleroma/reverse_proxy/client/tesla.ex @@ -12,6 +12,8 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do Keyword.get(opts, :adapter, []) |> Keyword.put(:body_as, :chunks) + IO.inspect(adapter_opts) + with {:ok, response} <- Pleroma.HTTP.request( method,