summaryrefslogtreecommitdiff
path: root/app/graphql/types/snippet_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/snippet_type.rb')
-rw-r--r--app/graphql/types/snippet_type.rb28
1 files changed, 14 insertions, 14 deletions
diff --git a/app/graphql/types/snippet_type.rb b/app/graphql/types/snippet_type.rb
index 7b96cc34941..5ee0500b1e0 100644
--- a/app/graphql/types/snippet_type.rb
+++ b/app/graphql/types/snippet_type.rb
@@ -54,28 +54,28 @@ module Types
null: false
field :web_url, type: GraphQL::Types::String,
- description: 'Web URL of the snippet.',
- null: false
+ description: 'Web URL of the snippet.',
+ null: false
field :raw_url, type: GraphQL::Types::String,
- description: 'Raw URL of the snippet.',
- null: false
+ description: 'Raw URL of the snippet.',
+ null: false
field :blobs, type: Types::Snippets::BlobType.connection_type,
- description: 'Snippet blobs.',
- calls_gitaly: true,
- null: true,
- resolver: Resolvers::Snippets::BlobsResolver
+ description: 'Snippet blobs.',
+ calls_gitaly: true,
+ null: true,
+ resolver: Resolvers::Snippets::BlobsResolver
field :ssh_url_to_repo, type: GraphQL::Types::String,
- description: 'SSH URL to the snippet repository.',
- calls_gitaly: true,
- null: true
+ description: 'SSH URL to the snippet repository.',
+ calls_gitaly: true,
+ null: true
field :http_url_to_repo, type: GraphQL::Types::String,
- description: 'HTTP URL to the snippet repository.',
- calls_gitaly: true,
- null: true
+ description: 'HTTP URL to the snippet repository.',
+ calls_gitaly: true,
+ null: true
markdown_field :description_html, null: true, method: :description