diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb index e990f5f19..1ffcb76c3 100644 --- a/lib/mastodon/accounts_cli.rb +++ b/lib/mastodon/accounts_cli.rb @@ -103,6 +103,7 @@ module Mastodon return elsif account.user.present? DeleteAccountService.new.call(account, reserve_email: false) + account = Account.new(username: username) end end