1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-27 22:38:35 +09:00

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

This commit is contained in:
Claire 2023-04-23 22:29:31 +02:00 committed by GitHub
parent 58a1b2e330
commit 528b8e7e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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