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