diff --git a/src/Appwrite/Platform/Workers/Certificates.php b/src/Appwrite/Platform/Workers/Certificates.php index 7ec08396b7..4f898c7e98 100644 --- a/src/Appwrite/Platform/Workers/Certificates.php +++ b/src/Appwrite/Platform/Workers/Certificates.php @@ -359,6 +359,7 @@ class Certificates extends Action $this->upsertCertificate($rule, $certificate, $dbForPlatform); // Update rule and emit events + $rule->setAttribute('certificateId', $certificate->getId()); $rule->setAttribute('logs', $logs); $this->updateRuleAndSendEvents($rule, $dbForPlatform, $queueForEvents, $queueForWebhooks, $queueForFunctions, $queueForRealtime); }