Fix incompatible type (Elixir 1.11)
authorMark Felder <feld@FreeBSD.org>
Wed, 7 Oct 2020 15:02:20 +0000 (10:02 -0500)
committerMark Felder <feld@FreeBSD.org>
Wed, 7 Oct 2020 15:02:20 +0000 (10:02 -0500)
lib/pleroma/web/media_proxy/invalidations/http.ex

index bb81d8888365d2e88b50e215f3d418bacd69e8fd..694eb559b79e606dbb0486afd45651598b7b01a7 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} ->
         error
 
       _ ->