summaryrefslogtreecommitdiff
path: root/app/graphql
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2019-06-11 16:11:21 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2019-06-11 16:11:21 +0200
commitc70f7ec77bdf8469bcb64ba3b235d68320280b9c (patch)
treed386f5e431f68c95b5a83478755ee542b7859a4e /app/graphql
parent0899537e2d3bd4b481bd71c04a0186108ad9c39f (diff)
downloadgitlab-ce-c70f7ec77bdf8469bcb64ba3b235d68320280b9c.tar.gz
Rename `BatchCommitLoader` to `BatchLfsOidLoader`
Since we're not actually loading commits in that loader, but we're loading blobs with LFS oids in batch and returning only the oids.
Diffstat (limited to 'app/graphql')
-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