diff --git a/lib/graphql/resolvers/person.ex b/lib/graphql/resolvers/person.ex index 613c0c9e8..31a296d61 100644 --- a/lib/graphql/resolvers/person.ex +++ b/lib/graphql/resolvers/person.ex @@ -455,7 +455,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Person do {:ok, nil} _ -> - {:error, dgettext("errors", "User not found")} + {:error, :user_not_found} end end