Dialyzer: pattern can never match the type because it is covered by previous clauses.
This commit is contained in:
parent
33fa035c31
commit
69482004fc
8 changed files with 0 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue