瀏覽代碼

Fix `tootctl accounts delete` not deleting user record as well (#9874)

master
Eugen Rochko 5 年之前
committed by GitHub
父節點
當前提交
e9cd3636c6
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/mastodon/accounts_cli.rb

+ 1
- 1
lib/mastodon/accounts_cli.rb 查看文件

@@ -176,7 +176,7 @@ module Mastodon
end

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)
end



Loading…
取消
儲存