mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 08:22:50 +00:00
da2a0593ca
Fix lint Disable modern mode Fixes UI fixes Fixes Ignore .po~ files Fixes Fix homepage Fixes Fixes Mix format Fix tests Fix tests (yeah…) Signed-off-by: Thomas Citharel <tcit@tcit.fr>
15 lines
359 B
Elixir
15 lines
359 B
Elixir
defmodule MobilizonWeb.Resolvers.Member do
|
|
@moduledoc """
|
|
Handles the member-related GraphQL calls
|
|
"""
|
|
alias Mobilizon.Actors
|
|
alias Mobilizon.Actors.{Actor}
|
|
|
|
@doc """
|
|
Find members for group
|
|
"""
|
|
def find_members_for_group(%Actor{} = actor, _args, _resolution) do
|
|
members = Actors.memberships_for_group(actor)
|
|
{:ok, members}
|
|
end
|
|
end
|