Add global search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-08-26 16:08:58 +02:00
parent bfc936f57c
commit 48935e2168
216 changed files with 3646 additions and 2806 deletions

View File

@@ -67,4 +67,8 @@ defmodule Mobilizon.GraphQL.Resolvers.Followers do
end
def update_follower(_, _, _), do: {:error, :unauthenticated}
def count_followers_for_group(%Actor{type: :Group} = group, _args, _resolution) do
{:ok, Actors.count_followers_for_actor(group)}
end
end