Fix incompatible type (Elixir 1.11)

This commit is contained in:
Mark Felder 2020-10-07 10:02:20 -05:00
parent 636c00037d
commit d3106c69c8

View 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
_ ->