Fix incompatible type (Elixir 1.11)
This commit is contained in:
parent
636c00037d
commit
d3106c69c8
@ -30,7 +30,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.Http do
|
|||||||
{:ok, %{status: status} = env} when 400 <= status and status < 500 ->
|
{:ok, %{status: status} = env} when 400 <= status and status < 500 ->
|
||||||
{:error, env}
|
{:error, env}
|
||||||
|
|
||||||
{:error, error} = error ->
|
{:error, error} ->
|
||||||
error
|
error
|
||||||
|
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user