mirror of
https://github.com/appwrite/appwrite
synced 2026-05-16 21:48:45 +00:00
fix check twice
This commit is contained in:
parent
2634c928c7
commit
36eabfa2dd
1 changed files with 0 additions and 4 deletions
|
|
@ -3054,10 +3054,6 @@ App::delete('/v1/account')
|
|||
}
|
||||
}
|
||||
|
||||
if ($user->isEmpty()) {
|
||||
throw new Exception(Exception::USER_NOT_FOUND);
|
||||
}
|
||||
|
||||
$dbForProject->deleteDocument('users', $user->getId());
|
||||
|
||||
$queueForDeletes
|
||||
|
|
|
|||
Loading…
Reference in a new issue