1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-25 09:22:22 +00:00

Fix list group elements

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-10-22 18:06:02 +02:00
parent 6a71bd166e
commit a709a196bd
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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