diff options
Diffstat (limited to 'app/graphql/resolvers/merge_requests_resolver.rb')
-rw-r--r-- | app/graphql/resolvers/merge_requests_resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/resolvers/merge_requests_resolver.rb b/app/graphql/resolvers/merge_requests_resolver.rb index 0b394386f97..90795c797ac 100644 --- a/app/graphql/resolvers/merge_requests_resolver.rb +++ b/app/graphql/resolvers/merge_requests_resolver.rb @@ -19,7 +19,7 @@ module Resolvers args[:iids] ||= [args[:iid]].compact - args[:iids].map(&method(:batch_load)) + args[:iids].map { |iid| batch_load(iid) } .select(&:itself) # .compact doesn't work on BatchLoader end |