Apply suggestion to lib/pleroma/reverse_proxy/client/tesla.ex
This commit is contained in:
parent
7eb6592992
commit
151dc4e387
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def request(method, url, headers, body, opts \\ []) do
|
def request(method, url, headers, body, opts \\ []) do
|
||||||
_adapter = check_adapter()
|
check_adapter()
|
||||||
|
|
||||||
with opts <- Keyword.merge(opts, body_as: :chunks, mode: :passive),
|
with opts <- Keyword.merge(opts, body_as: :chunks, mode: :passive),
|
||||||
{:ok, response} <-
|
{:ok, response} <-
|
||||||
|
|
Loading…
Reference in a new issue