summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/config/stage_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/config/stage_type.rb')
-rw-r--r--app/graphql/types/ci/config/stage_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/ci/config/stage_type.rb b/app/graphql/types/ci/config/stage_type.rb
index 20618bc41f8..2008c553629 100644
--- a/app/graphql/types/ci/config/stage_type.rb
+++ b/app/graphql/types/ci/config/stage_type.rb
@@ -9,7 +9,7 @@ module Types
field :name, GraphQL::STRING_TYPE, null: true,
description: 'Name of the stage'
- field :groups, [Types::Ci::Config::GroupType], null: true,
+ field :groups, Types::Ci::Config::GroupType.connection_type, null: true,
description: 'Groups of jobs for the stage'
end
end