Add $tenant attribute removal to Action.php processDocument method

Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-08-26 20:37:33 +00:00
parent 6763b8ecb6
commit bfd8b554cd

View file

@ -232,6 +232,7 @@ abstract class Action extends AppwriteAction
$collectionId = $collection->getId();
$document->removeAttribute('$collection');
$document->removeAttribute('$tenant');
$document->setAttribute('$databaseId', $database->getId());
$document->setAttribute('$' . $this->getCollectionsEventsContext() . 'Id', $collectionId);