Add join/leave group

This commit is contained in:
Chocobozzz
2019-03-01 17:11:28 +01:00
parent b76b57c438
commit 5a8ad3ab52
14 changed files with 567 additions and 39 deletions

View File

@@ -32,8 +32,8 @@ defmodule MobilizonWeb.Resolvers.Event do
@doc """
List participant for event (separate request)
"""
def list_participants_for_event(_parent, %{uuid: uuid}, _resolution) do
{:ok, Mobilizon.Events.list_participants_for_event(uuid)}
def list_participants_for_event(_parent, %{uuid: uuid, page: page, limit: limit}, _resolution) do
{:ok, Mobilizon.Events.list_participants_for_event(uuid, page, limit)}
end
@doc """