pass options without adapter key
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 10 Sep 2020 17:09:44 +0000 (20:09 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 10 Sep 2020 17:09:44 +0000 (20:09 +0300)
lib/pleroma/reverse_proxy/client/tesla.ex

index d5a339681a752d6ae301ed08c33a49ca4b36353f..4b118eec25337bd49ab315f721779b96b3bc22dd 100644 (file)
@@ -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}