From: Eugen Rochko Date: Thu, 3 Oct 2019 15:50:48 +0000 (+0200) Subject: Fix wrong attribute in MoveWorker (#12066) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=9a1be333b8f2a1bb2a25e77053efa16c3e30f068;p=mastodon.git Fix wrong attribute in MoveWorker (#12066) --- 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!