forked from potsda.mn/mobilizon
Fix list group elements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6a71bd166e
commit
a709a196bd
|
@ -425,7 +425,7 @@ defmodule Mobilizon.Events do
|
|||
|> Page.build_page(page, limit)
|
||||
end
|
||||
|
||||
def list_simple_organized_events_for_group(%Actor{} = actor, page, limit) do
|
||||
def list_simple_organized_events_for_group(%Actor{} = actor, page \\ nil, limit \\ nil) do
|
||||
list_organized_events_for_group(actor, :all, nil, nil, page, limit)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue