mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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());
|
$dbForProject->deleteDocument('users', $user->getId());
|
||||||
|
|
||||||
$queueForDeletes
|
$queueForDeletes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue