summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-06-12 09:56:41 +0000
committerJan Provaznik <jprovaznik@gitlab.com>2019-06-12 09:56:41 +0000
commitf18f3ed9265e777ab7ddcb87948d0e405fbbb0b0 (patch)
tree86cb220ca076e425b59b760cfc18cde6f0b037c8 /app
parentd8f4779c7f7f0b75b89d7f48f8228c610b73c98a (diff)
parentc70f7ec77bdf8469bcb64ba3b235d68320280b9c (diff)
downloadgitlab-ce-f18f3ed9265e777ab7ddcb87948d0e405fbbb0b0.tar.gz
Merge branch 'bvl-rename-loader-for-lfs-oids' into 'master'
Rename `BatchCommitLoader` to `BatchLfsOidLoader` See merge request gitlab-org/gitlab-ce!29487
Diffstat (limited to 'app')
-rw-r--r--app/graphql/types/tree/blob_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/tree/blob_type.rb b/app/graphql/types/tree/blob_type.rb
index ba191b59132..760781f3612 100644
--- a/app/graphql/types/tree/blob_type.rb
+++ b/app/graphql/types/tree/blob_type.rb
@@ -10,7 +10,7 @@ module Types
field :web_url, GraphQL::STRING_TYPE, null: true
field :lfs_oid, GraphQL::STRING_TYPE, null: true, resolve: -> (blob, args, ctx) do
- Gitlab::Graphql::Loaders::BatchCommitLoader.new(blob.repository, blob.id).find
+ Gitlab::Graphql::Loaders::BatchLfsOidLoader.new(blob.repository, blob.id).find
end
end
end