Allow to get group followed events after a certain date

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-11-02 19:48:38 +01:00
parent 4923c52f3b
commit b12cea5ead
3 changed files with 29 additions and 6 deletions

View File

@@ -117,6 +117,10 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
description: "The limit of follow group events per page"
)
arg(:after_datetime, :datetime,
description: "Filter follow group events by event start datetime"
)
resolve(&User.user_followed_group_events/3)
end