Dialyzer: pattern can never match the type because it is covered by previous clauses.

This commit is contained in:
Mark Felder 2024-07-01 10:58:22 -04:00
commit 69482004fc
8 changed files with 0 additions and 15 deletions

View file

@ -611,7 +611,6 @@ defmodule Pleroma.Web.CommonAPI do
Utils.update_report_state(activity, state)
else
nil -> {:error, :not_found}
_ -> {:error, dgettext("errors", "Could not update state")}
end
end