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

View File

@ -76,12 +76,7 @@ defmodule Pleroma.HTTP 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)