mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
pass options without adapter key
This commit is contained in:
parent
c8c17d9c63
commit
e8bfb50fa3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
|
||||||
url,
|
url,
|
||||||
body,
|
body,
|
||||||
headers,
|
headers,
|
||||||
Keyword.put(opts, :adapter, opts)
|
opts
|
||||||
) do
|
) do
|
||||||
if is_map(response.body) and method != :head do
|
if is_map(response.body) and method != :head do
|
||||||
{:ok, response.status, response.headers, response.body}
|
{:ok, response.status, response.headers, response.body}
|
||||||
|
|
Loading…
Reference in a new issue