Browse Source

Fix wrong attribute in MoveWorker (#12066)

pull/4/head
Eugen Rochko 4 years ago
committed by GitHub
parent
commit
9a1be333b8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/workers/move_worker.rb

+ 1
- 1
app/workers/move_worker.rb 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!

Loading…
Cancel
Save