summaryrefslogtreecommitdiff
path: root/app/graphql/types/tree/blob_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/tree/blob_type.rb')
-rw-r--r--app/graphql/types/tree/blob_type.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/types/tree/blob_type.rb b/app/graphql/types/tree/blob_type.rb
index d192c8d3c57..bb15d91a62f 100644
--- a/app/graphql/types/tree/blob_type.rb
+++ b/app/graphql/types/tree/blob_type.rb
@@ -10,14 +10,14 @@ module Types
graphql_name 'Blob'
- field :web_url, GraphQL::STRING_TYPE, null: true,
+ field :web_url, GraphQL::Types::String, null: true,
description: 'Web URL of the blob.'
- field :web_path, GraphQL::STRING_TYPE, null: true,
+ field :web_path, GraphQL::Types::String, null: true,
description: 'Web path of the blob.'
- field :lfs_oid, GraphQL::STRING_TYPE, null: true,
+ field :lfs_oid, GraphQL::Types::String, null: true,
calls_gitaly: true,
description: 'LFS ID of the blob.'
- field :mode, GraphQL::STRING_TYPE, null: true,
+ field :mode, GraphQL::Types::String, null: true,
description: 'Blob mode in numeric format.'
def lfs_oid