mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Make second parameter to Mobilizon.FollowedGroupActivity.user_followed_group_events/4 default to nil
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
3fd79f89a8
commit
c4d9101302
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ defmodule Mobilizon.FollowedGroupActivity do
|
|||
integer() | nil,
|
||||
integer() | nil
|
||||
) :: Page.t(Event.t())
|
||||
def user_followed_group_events(user_id, after_datetime, page \\ nil, limit \\ nil) do
|
||||
def user_followed_group_events(user_id, after_datetime \\ nil, page \\ nil, limit \\ nil) do
|
||||
Event
|
||||
|> distinct([e], e.id)
|
||||
|> join(:left, [e], p in Participant, on: e.id == p.event_id)
|
||||
|
|
Loading…
Reference in a new issue