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
|
|
@ -46,7 +46,6 @@ defmodule Pleroma.Web.AdminAPI.InviteController do
|
|||
render(conn, "show.json", invite: updated_invite)
|
||||
else
|
||||
nil -> {:error, :not_found}
|
||||
error -> error
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue