Apply suggestion to lib/pleroma/http/http.ex
This commit is contained in:
parent
614e3934f9
commit
a21a66972f
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue