pass options without adapter key

This commit is contained in:
Alexander Strizhakov 2020-09-10 20:09:44 +03:00
parent c8c17d9c63
commit e8bfb50fa3
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View 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}