forked from potsda.mn/mobilizon
Provide group creation changeset errors as well to absinthe
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
1b0f59937d
commit
3c294b33a8
|
@ -160,7 +160,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Group do
|
||||||
{:picture, {:error, :file_too_large}} ->
|
{:picture, {:error, :file_too_large}} ->
|
||||||
{:error, dgettext("errors", "The provided picture is too heavy")}
|
{:error, dgettext("errors", "The provided picture is too heavy")}
|
||||||
|
|
||||||
{:error, err} when is_binary(err) ->
|
{:error, err} ->
|
||||||
{:error, err}
|
{:error, err}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue