improve group creation view
This commit is contained in:
@@ -305,6 +305,10 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
|
||||
description: "Whether the group can be join freely, with approval or is invite-only."
|
||||
)
|
||||
|
||||
arg(:manually_approves_followers, :boolean,
|
||||
description: "Whether this group approves new followers manually"
|
||||
)
|
||||
|
||||
arg(:avatar, :media_input,
|
||||
description:
|
||||
"The avatar for the group, either as an object or directly the ID of an existing media"
|
||||
|
||||
@@ -146,7 +146,8 @@ defmodule Mobilizon.Actors.Actor do
|
||||
:domain,
|
||||
:summary,
|
||||
:visibility,
|
||||
:openness
|
||||
:openness,
|
||||
:manually_approves_followers
|
||||
]
|
||||
@group_creation_attrs @group_creation_required_attrs ++ @group_creation_optional_attrs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user