forked from potsda.mn/mobilizon
Fix listing group public events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
4e02885692
commit
0c4a7e0216
|
@ -406,7 +406,7 @@ defmodule Mobilizon.Events do
|
|||
def list_public_events_for_actor(actor, page \\ nil, limit \\ nil)
|
||||
|
||||
def list_public_events_for_actor(%Actor{type: :Group} = group, page, limit),
|
||||
do: list_organized_events_for_group(group, :public, nil, page, limit)
|
||||
do: list_organized_events_for_group(group, :public, nil, nil, page, limit)
|
||||
|
||||
def list_public_events_for_actor(%Actor{id: actor_id}, page, limit) do
|
||||
actor_id
|
||||
|
|
Loading…
Reference in a new issue