mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: optimise events payloads
This commit is contained in:
@@ -136,7 +136,10 @@ class Event
|
||||
*/
|
||||
public function setProject(Document $project): self
|
||||
{
|
||||
$this->project = $project;
|
||||
$this->project = new Document([
|
||||
'$id' => $project->getId(),
|
||||
'$internalId' => $project->getInternalId()
|
||||
]);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user