diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index a687dbea08..2299b3eea1 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -3054,10 +3054,6 @@ App::delete('/v1/account') } } - if ($user->isEmpty()) { - throw new Exception(Exception::USER_NOT_FOUND); - } - $dbForProject->deleteDocument('users', $user->getId()); $queueForDeletes