forked from potsda.mn/mobilizon
Simplify response for user not found
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
dddcd4f2be
commit
3ad5f8977e
|
@ -455,7 +455,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Person do
|
|||
{:ok, nil}
|
||||
|
||||
_ ->
|
||||
{:error, dgettext("errors", "User not found")}
|
||||
{:error, :user_not_found}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue