mirror of
https://github.com/appwrite/appwrite
synced 2026-05-14 04:28:24 +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();
|
||||
$document->removeAttribute('$collection');
|
||||
$document->removeAttribute('$tenant');
|
||||
$document->setAttribute('$databaseId', $database->getId());
|
||||
$document->setAttribute('$' . $this->getCollectionsEventsContext() . 'Id', $collectionId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue