Apply suggestion to lib/pleroma/http/http.ex
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 09:52:01 +0000 (09:52 +0000)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 09:52:01 +0000 (09:52 +0000)
lib/pleroma/http/http.ex

index 5fb468689dff3225cac695962815b47b6dffa922..0235f89eae01eec12232ff5e425011007f8d3535 100644 (file)
@@ -76,12 +76,7 @@ defmodule Pleroma.HTTP 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)