Apply suggestion to lib/pleroma/http/http.ex
This commit is contained in:
parent
614e3934f9
commit
a21a66972f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue