Add ability to delete an event

This commit is contained in:
Chocobozzz
2019-01-25 17:06:57 +01:00
parent b6f905313a
commit dd174f2446
8 changed files with 98 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ defmodule MobilizonWeb.Resolvers.Group do
{:ok, %{id: group.id}}
else
{:error, :group_not_found} ->
{:error, "Group with preferred username not found"}
{:error, "Group not found"}
{:is_owned, false} ->
{:error, "Actor id is not owned by authenticated user"}