summaryrefslogtreecommitdiff
path: root/app/graphql/types/group_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/group_type.rb')
-rw-r--r--app/graphql/types/group_type.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/graphql/types/group_type.rb b/app/graphql/types/group_type.rb
index 4a20d84f2ab..e02650fd285 100644
--- a/app/graphql/types/group_type.rb
+++ b/app/graphql/types/group_type.rb
@@ -210,6 +210,11 @@ module Types
null: true,
description: "Find contacts of this group."
+ field :work_item_types, Types::WorkItems::TypeType.connection_type,
+ resolver: Resolvers::WorkItems::TypesResolver,
+ description: 'Work item types available to the group.',
+ feature_flag: :work_items
+
def avatar_url
object.avatar_url(only_path: false)
end