Apply suggestion to lib/pleroma/reverse_proxy/client/tesla.ex

This commit is contained in:
Alexander Strizhakov 2020-03-03 09:53:37 +00:00
parent 7eb6592992
commit 151dc4e387
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
@impl true
def request(method, url, headers, body, opts \\ []) do
_adapter = check_adapter()
check_adapter()
with opts <- Keyword.merge(opts, body_as: :chunks, mode: :passive),
{:ok, response} <-