about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-10-03 17:50:48 +0200
committerGitHub <noreply@github.com>2019-10-03 17:50:48 +0200
commit9a1be333b8f2a1bb2a25e77053efa16c3e30f068 (patch)
tree5ac25934dbae4a3f550b4836159b03ee0e2bf19e /app/workers
parentbae268b2f6501ccb0ceeb8dd36180698839c4d3c (diff)
Fix wrong attribute in MoveWorker (#12066)
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!