diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index f340823993..a687dbea08 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -3053,7 +3053,7 @@ App::delete('/v1/account') } } } - + if ($user->isEmpty()) { throw new Exception(Exception::USER_NOT_FOUND); }