forked from cybrespace/mastodon
Fix `tootctl accounts delete` not deleting user record as well (#9874)
This commit is contained in:
parent
d891b0b007
commit
e9cd3636c6
|
@ -176,7 +176,7 @@ module Mastodon
|
||||||
end
|
end
|
||||||
|
|
||||||
say("Deleting user with #{account.statuses_count} statuses, this might take a while...")
|
say("Deleting user with #{account.statuses_count} statuses, this might take a while...")
|
||||||
SuspendAccountService.new.call(account, remove_user: true)
|
SuspendAccountService.new.call(account, including_user: true)
|
||||||
say('OK', :green)
|
say('OK', :green)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue