diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb')
-rw-r--r-- | lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb b/lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb index 1ba57789612..c105b04c731 100644 --- a/lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb +++ b/lib/bulk_imports/projects/graphql/get_snippet_repository_query.rb @@ -3,9 +3,8 @@ module BulkImports module Projects module Graphql - module GetSnippetRepositoryQuery - extend Queryable - extend self + class GetSnippetRepositoryQuery + include Queryable def to_s <<-'GRAPHQL' @@ -27,7 +26,7 @@ module BulkImports GRAPHQL end - def variables(context) + def variables { full_path: context.entity.source_full_path, cursor: context.tracker.next_page, |