Fix undefined method error when batch-removing statuses with ElasticSearch on (#15421)
This commit is contained in:
parent
7e6d3a7d9a
commit
ba0b79fc5c
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ class BatchedRemoveStatusService < BaseService
|
|||
|
||||
# Since we skipped all callbacks, we also need to manually
|
||||
# deindex the statuses
|
||||
Chewy.strategy.current.update(StatusesIndex, statuses_and_reblogs) if Chewy.enabled?
|
||||
Chewy.strategy.current.update(StatusesIndex::Status, statuses_and_reblogs) if Chewy.enabled?
|
||||
|
||||
return if options[:skip_side_effects]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue