Browse Source

Fix `tootctl search deploy` on Ruby 3 (#16346)

Fixes #16344
closed-social-v3
Claire 3 years ago
committed by GitHub
parent
commit
abf4c2ab21
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/mastodon/search_cli.rb

+ 1
- 1
lib/mastodon/search_cli.rb View File

@ -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)

Loading…
Cancel
Save