Apply suggestion to lib/pleroma/http/http.ex

This commit is contained in:
Alexander Strizhakov 2020-03-03 09:52:01 +00:00
parent 614e3934f9
commit a21a66972f
1 changed files with 1 additions and 6 deletions

View File

@ -76,12 +76,7 @@ def request(method, url, body, headers, options) when is_binary(url) do
|> Map.put(:env, Pleroma.Config.get([:env])) |> Map.put(:env, Pleroma.Config.get([:env]))
|> Map.put(:pool_alive?, pool_alive?) |> Map.put(:pool_alive?, pool_alive?)
response = response = request(client, request, request_opts)
request(
client,
request,
request_opts
)
Connection.after_request(adapter_opts) Connection.after_request(adapter_opts)