Fix wrong attribute in MoveWorker (#12066)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2019-10-03 17:50:48 +02:00
1 parent bae268b2f6
commit 9a1be333b8
1 file changed
+1 -1
+1 -1
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!