Fix listing event groups

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-22 16:59:04 +02:00
parent d8185660e3
commit 2c42cf2735
3 changed files with 6 additions and 2 deletions

View File

@@ -425,6 +425,10 @@ defmodule Mobilizon.Events do
|> Page.build_page(page, limit)
end
def list_simple_organized_events_for_group(%Actor{} = actor, page, limit) do
list_organized_events_for_group(actor, :all, nil, nil, page, limit)
end
@spec list_organized_events_for_group(
Actor.t(),
DateTime.t() | nil,