From: Alexander Strizhakov Date: Thu, 10 Sep 2020 17:09:44 +0000 (+0300) Subject: pass options without adapter key X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e8bfb50fa3c16f98845e326b153c8a89505e8a55;p=akkoma pass options without adapter key --- diff --git a/lib/pleroma/reverse_proxy/client/tesla.ex b/lib/pleroma/reverse_proxy/client/tesla.ex index d5a339681..4b118eec2 100644 --- a/lib/pleroma/reverse_proxy/client/tesla.ex +++ b/lib/pleroma/reverse_proxy/client/tesla.ex @@ -28,7 +28,7 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do url, body, headers, - Keyword.put(opts, :adapter, opts) + opts ) do if is_map(response.body) and method != :head do {:ok, response.status, response.headers, response.body}