Skip to content

Commit

Permalink
Fix incorrect call to PublicStatusesIndex.import (#26697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Aug 28, 2023
1 parent bceb893 commit 0cce7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/account_statuses_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def add_to_public_statuses_index!
return unless Chewy.enabled?

statuses.without_reblogs.where(visibility: :public).find_in_batches do |batch|
PublicStatusesIndex.import(query: batch)
PublicStatusesIndex.import(batch)
end
end

Expand Down

0 comments on commit 0cce7fb

Please sign in to comment.