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/resolvers/repository_branch_names_resolver.rb')
-rw-r--r--app/graphql/resolvers/repository_branch_names_resolver.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/resolvers/repository_branch_names_resolver.rb b/app/graphql/resolvers/repository_branch_names_resolver.rb
index c0a5ea0366f..e9aacda2652 100644
--- a/app/graphql/resolvers/repository_branch_names_resolver.rb
+++ b/app/graphql/resolvers/repository_branch_names_resolver.rb
@@ -2,19 +2,19 @@
module Resolvers
class RepositoryBranchNamesResolver < BaseResolver
- type ::GraphQL::STRING_TYPE, null: false
+ type ::GraphQL::Types::String, null: false
calls_gitaly!
- argument :search_pattern, GraphQL::STRING_TYPE,
+ argument :search_pattern, GraphQL::Types::String,
required: true,
description: 'The pattern to search for branch names by.'
- argument :offset, GraphQL::INT_TYPE,
+ argument :offset, GraphQL::Types::Int,
required: true,
description: 'The number of branch names to skip.'
- argument :limit, GraphQL::INT_TYPE,
+ argument :limit, GraphQL::Types::Int,
required: true,
description: 'The number of branch names to return.'