Apply 1 suggestion(s) to 1 file(s)
authorfeld <feld@feld.me>
Wed, 7 Oct 2020 16:44:52 +0000 (16:44 +0000)
committerfeld <feld@feld.me>
Wed, 7 Oct 2020 16:44:52 +0000 (16:44 +0000)
lib/pleroma/web/media_proxy/invalidations/http.ex

index 694eb559b79e606dbb0486afd45651598b7b01a7..0b0cde68c39ce38d6ebd64c67504330221264f59 100644 (file)
@@ -30,7 +30,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.Http do
       {:ok, %{status: status} = env} when 400 <= status and status < 500 ->
         {:error, env}
 
-      {:error, error} ->
+      {:error, _} = error ->
         error
 
       _ ->