summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/group_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/group_type.rb')
-rw-r--r--app/graphql/types/ci/group_type.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/ci/group_type.rb b/app/graphql/types/ci/group_type.rb
index 3da183cb842..3ae23ba9bd4 100644
--- a/app/graphql/types/ci/group_type.rb
+++ b/app/graphql/types/ci/group_type.rb
@@ -6,11 +6,11 @@ module Types
class GroupType < BaseObject
graphql_name 'CiGroup'
- field :id, GraphQL::STRING_TYPE, null: false,
+ field :id, GraphQL::Types::String, null: false,
description: 'ID for a group.'
- field :name, GraphQL::STRING_TYPE, null: true,
+ field :name, GraphQL::Types::String, null: true,
description: 'Name of the job group.'
- field :size, GraphQL::INT_TYPE, null: true,
+ field :size, GraphQL::Types::Int, null: true,
description: 'Size of the group.'
field :jobs, Ci::JobType.connection_type, null: true,
description: 'Jobs in group.'