Don't delete account data just yet (wait for automatic deletion)

This commit is contained in:
Bofh 2022-12-09 22:38:27 +01:00
parent 0c18e53201
commit 0d81b270a8
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ $_ = function() {
if (isset($_POST['explain'])) if (isset($_POST['explain']))
$explain = trim($_POST['explain']); $explain = trim($_POST['explain']);
instance_http_post('/api/v1/admin/accounts/'.$id.'/action', $output = instance_http_post('/api/v1/admin/accounts/'.$id.'/action',
['type' => 'suspend', 'text' => $explain ]); ['type' => 'suspend', 'text' => $explain ]);
$output = instance_http_delete('/api/v1/admin/accounts/'.$id); #$output = instance_http_delete('/api/v1/admin/accounts/'.$id);
return apiresult($output); return apiresult($output);
}; };
$_(); $_();