Fix wrong attribute in MoveWorker (#12066)

lolsob-rspec
Eugen Rochko 2019-10-03 17:50:48 +02:00 committed by GitHub
parent 6edcffbb9f
commit 1656a9fa9c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class MoveWorker
@source_account.passive_relationships
.where(account: Account.local)
.in_batches
.update_all(target_account: @target_account)
.update_all(target_account_id: @target_account.id)
end
def queue_follow_unfollows!