Apply suggestion to lib/pleroma/reverse_proxy/client/tesla.ex
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 09:53:37 +0000 (09:53 +0000)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 09:53:37 +0000 (09:53 +0000)
lib/pleroma/reverse_proxy/client/tesla.ex

index 55a11b4a82b07ca832886a76860a590a420f5786..498a905e1f674590e9634395ad719ec5fd842109 100644 (file)
@@ -16,7 +16,7 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
 
   @impl true
   def request(method, url, headers, body, opts \\ []) do
-    _adapter = check_adapter()
+    check_adapter()
 
     with opts <- Keyword.merge(opts, body_as: :chunks, mode: :passive),
          {:ok, response} <-