adding region query to deleteProjectsByTeam

This commit is contained in:
shimon 2025-03-25 20:28:29 +02:00
parent 62effa7bc4
commit 9f446da0a5

View file

@ -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')])