Skip to content

Commit

Permalink
Merge pull request #71 from Workstream-App/master
Browse files Browse the repository at this point in the history
Fixed deprectation warning from using ruby 2.7.1
  • Loading branch information
exAspArk committed Feb 18, 2021
2 parents 94ffd9d + d19d49b commit 3b353e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/batch_loader/graphql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def initialize(item = nil)
@batch_loader = BatchLoader.for(item)
end

def batch(*args, &block)
@batch_loader.batch(*args, &block)
def batch(*args, **kwargs, &block)
@batch_loader.batch(*args, **kwargs, &block)
self
end

Expand Down

0 comments on commit 3b353e5

Please sign in to comment.