summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/template_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/ci/template_type.rb')
-rw-r--r--app/graphql/types/ci/template_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/types/ci/template_type.rb b/app/graphql/types/ci/template_type.rb
index 5f07fa16928..7e7ee44025f 100644
--- a/app/graphql/types/ci/template_type.rb
+++ b/app/graphql/types/ci/template_type.rb
@@ -7,9 +7,9 @@ module Types
graphql_name 'CiTemplate'
description 'GitLab CI/CD configuration template.'
- field :name, GraphQL::STRING_TYPE, null: false,
+ field :name, GraphQL::Types::String, null: false,
description: 'Name of the CI template.'
- field :content, GraphQL::STRING_TYPE, null: false,
+ field :content, GraphQL::Types::String, null: false,
description: 'Contents of the CI template.'
end
end