mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Add $tenant attribute removal to Action.php processDocument method
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
This commit is contained in:
parent
6763b8ecb6
commit
bfd8b554cd
1 changed files with 1 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ abstract class Action extends AppwriteAction
|
||||||
|
|
||||||
$collectionId = $collection->getId();
|
$collectionId = $collection->getId();
|
||||||
$document->removeAttribute('$collection');
|
$document->removeAttribute('$collection');
|
||||||
|
$document->removeAttribute('$tenant');
|
||||||
$document->setAttribute('$databaseId', $database->getId());
|
$document->setAttribute('$databaseId', $database->getId());
|
||||||
$document->setAttribute('$' . $this->getCollectionsEventsContext() . 'Id', $collectionId);
|
$document->setAttribute('$' . $this->getCollectionsEventsContext() . 'Id', $collectionId);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue