Fix incorrect call to `PublicStatusesIndex.import` (#26697)
parent
9ab2c6b479
commit
c46d297740
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue