mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
adding region query to deleteProjectsByTeam
This commit is contained in:
parent
62effa7bc4
commit
9f446da0a5
1 changed files with 1 additions and 1 deletions
|
|
@ -494,7 +494,7 @@ class Deletes extends Action
|
|||
*/
|
||||
protected function deleteProjectsByTeam(Database $dbForPlatform, callable $getProjectDB, CertificatesAdapter $certificates, Document $document): void
|
||||
{
|
||||
|
||||
var_dump('deleteProjectsByTeam appwrite CE');
|
||||
$projects = $dbForPlatform->find('projects', [
|
||||
Query::equal('teamInternalId', [$document->getInternalId()]),
|
||||
Query::equal('region', [System::getEnv('_APP_REGION', 'default')])
|
||||
|
|
|
|||
Loading…
Reference in a new issue