Merge pull request #9118 from appwrite/chore-optimise-webhooks-payload

chore: fix attribute name
This commit is contained in:
Christy Jacob 2024-12-19 21:42:13 +05:30 committed by GitHub
commit 0715a8450a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ class Webhook extends Event
$this->context = [];
$this->project = new Document([
'$id' => $this->project->getId(),
'$internalId' => $this->project->getAttribute('internalId'),
'$internalId' => $this->project->getInternalId(),
]);
return parent::trigger();