about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/move_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/move_worker.rb b/app/workers/move_worker.rb
index 22788716f..83f7090ee 100644
--- a/app/workers/move_worker.rb
+++ b/app/workers/move_worker.rb
@@ -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!