summaryrefslogtreecommitdiff
path: root/app/graphql/types/repository/blob_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/repository/blob_type.rb')
-rw-r--r--app/graphql/types/repository/blob_type.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/types/repository/blob_type.rb b/app/graphql/types/repository/blob_type.rb
index 8c90a8df611..c5d6e26e94b 100644
--- a/app/graphql/types/repository/blob_type.rb
+++ b/app/graphql/types/repository/blob_type.rb
@@ -44,11 +44,11 @@ module Types
field :fork_and_view_path, GraphQL::Types::String, null: true,
description: 'Web path to view this blob using a forked project.'
- field :size, GraphQL::Types::Int, null: true,
- description: 'Size (in bytes) of the blob.'
+ field :size, GraphQL::Types::BigInt, null: true,
+ description: 'Size (in bytes) of the blob.'
- field :raw_size, GraphQL::Types::Int, null: true,
- description: 'Size (in bytes) of the blob, or the blob target if stored externally.'
+ field :raw_size, GraphQL::Types::BigInt, null: true,
+ description: 'Size (in bytes) of the blob, or the blob target if stored externally.'
field :raw_blob, GraphQL::Types::String, null: true, method: :data,
description: 'Raw content of the blob.'