summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/ci_cd_setting_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/ci_cd_setting_type.rb')
-rw-r--r--app/graphql/types/ci/ci_cd_setting_type.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/types/ci/ci_cd_setting_type.rb b/app/graphql/types/ci/ci_cd_setting_type.rb
index f90c75454ba..790deab8f68 100644
--- a/app/graphql/types/ci/ci_cd_setting_type.rb
+++ b/app/graphql/types/ci/ci_cd_setting_type.rb
@@ -7,16 +7,16 @@ module Types
authorize :admin_project
- field :merge_pipelines_enabled, GraphQL::BOOLEAN_TYPE, null: true,
+ field :merge_pipelines_enabled, GraphQL::Types::Boolean, null: true,
description: 'Whether merge pipelines are enabled.',
method: :merge_pipelines_enabled?
- field :merge_trains_enabled, GraphQL::BOOLEAN_TYPE, null: true,
+ field :merge_trains_enabled, GraphQL::Types::Boolean, null: true,
description: 'Whether merge trains are enabled.',
method: :merge_trains_enabled?
- field :keep_latest_artifact, GraphQL::BOOLEAN_TYPE, null: true,
+ field :keep_latest_artifact, GraphQL::Types::Boolean, null: true,
description: 'Whether to keep the latest builds artifacts.',
method: :keep_latest_artifacts_available?
- field :job_token_scope_enabled, GraphQL::BOOLEAN_TYPE, null: true,
+ field :job_token_scope_enabled, GraphQL::Types::Boolean, null: true,
description: 'Indicates CI job tokens generated in this project have restricted access to resources.',
method: :job_token_scope_enabled?
field :project, Types::ProjectType, null: true,