Fix incorrect call to `PublicStatusesIndex.import` (#26697)

main
Claire 2023-08-28 15:04:57 +02:00 committed by GitHub
parent bceb893159
commit 0cce7fb617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ module AccountStatusesSearch
return unless Chewy.enabled?
statuses.without_reblogs.where(visibility: :public).find_in_batches do |batch|
PublicStatusesIndex.import(query: batch)
PublicStatusesIndex.import(batch)
end
end