Add logging of account data removal (#40572)
This commit is contained in:
1 parent
17545f9854
commit
01b69a5743
4 files changed
+5
-1
No files matched your search
@@ -69,6 +69,7 @@ class Api::V1::Admin::AccountsController < Api::BaseController
|
||||
def destroy
|
||||
authorize @account, :destroy?
|
||||
Admin::AccountDeletionWorker.perform_async(@account.id)
|
||||
log_action :destroy, @account
|
||||
render_empty
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user