mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 12:30:03 +00:00
Fix incorrect call to PublicStatusesIndex.import
(#26697)
This commit is contained in:
parent
bceb893159
commit
0cce7fb617
|
@ -32,7 +32,7 @@ module AccountStatusesSearch
|
||||||
return unless Chewy.enabled?
|
return unless Chewy.enabled?
|
||||||
|
|
||||||
statuses.without_reblogs.where(visibility: :public).find_in_batches do |batch|
|
statuses.without_reblogs.where(visibility: :public).find_in_batches do |batch|
|
||||||
PublicStatusesIndex.import(query: batch)
|
PublicStatusesIndex.import(batch)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue