Fix tootctl accounts migrate error due to typo (#23567)

local
Claire 1 year ago committed by GitHub
parent d6679d1751
commit 8784498ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/mastodon/accounts_cli.rb

@ -627,7 +627,7 @@ module Mastodon
exit(1)
end
unless options[:force] || migration.target_acount_id == account.moved_to_account_id
unless options[:force] || migration.target_account_id == account.moved_to_account_id
say('The specified account is not redirecting to its last migration target. Use --force if you want to replay the migration anyway', :red)
exit(1)
end

Loading…
Cancel
Save