Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/diff_stats_type.rb')
-rw-r--r--app/graphql/types/diff_stats_type.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/diff_stats_type.rb b/app/graphql/types/diff_stats_type.rb
index 8a6840e5a94..60aacca8ce5 100644
--- a/app/graphql/types/diff_stats_type.rb
+++ b/app/graphql/types/diff_stats_type.rb
@@ -8,11 +8,11 @@ module Types
description 'Changes to a single file'
- field :path, GraphQL::STRING_TYPE, null: false,
+ field :path, GraphQL::Types::String, null: false,
description: 'File path, relative to repository root.'
- field :additions, GraphQL::INT_TYPE, null: false,
+ field :additions, GraphQL::Types::Int, null: false,
description: 'Number of lines added to this file.'
- field :deletions, GraphQL::INT_TYPE, null: false,
+ field :deletions, GraphQL::Types::Int, null: false,
description: 'Number of lines deleted from this file.'
end
# rubocop: enable Graphql/AuthorizeTypes