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 @@ defp do_purge(method, url, headers, options) 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
_ -> _ ->