about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-06-01 17:31:49 +0200
committerGitHub <noreply@github.com>2021-06-01 17:31:49 +0200
commitabf4c2ab214b0fee14d50af98263e5389e960ae3 (patch)
treed447cb6ee324567fdc2cdc8ecfc547d927a370c1 /lib
parentabd7b4636a4bda2454f1d30e7f87843d0c06dcbe (diff)
Fix `tootctl search deploy` on Ruby 3 (#16346)
Fixes #16344
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/search_cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/search_cli.rb b/lib/mastodon/search_cli.rb
index c0491744b..0126dfcff 100644
--- a/lib/mastodon/search_cli.rb
+++ b/lib/mastodon/search_cli.rb
@@ -102,7 +102,7 @@ module Mastodon
 
                   ActiveRecord::Base.connection_pool.with_connection do
                     grouped_records = type.adapter.send(:grouped_objects, records)
-                    bulk_body       = Chewy::Type::Import::BulkBuilder.new(type, grouped_records).bulk_body
+                    bulk_body       = Chewy::Type::Import::BulkBuilder.new(type, **grouped_records).bulk_body
                   end
 
                   index_count  = grouped_records[:index].size  if grouped_records.key?(:index)