Fix crash in `tootctl accounts create --reattach --force` (#24557)

lolsob-rspec
Claire 2023-04-23 22:29:31 +02:00 committed by GitHub
parent d8e7a72597
commit df83ca4e25
1 changed files with 1 additions and 0 deletions

View File

@ -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