From db80b74f1f0ceff2062ce2a00abcd3e878437ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 16 Sep 2025 16:12:44 +0200 Subject: [PATCH] Fix success+error logs --- src/Appwrite/Platform/Workers/Certificates.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Certificates.php b/src/Appwrite/Platform/Workers/Certificates.php index 29b2241b3a..44651953f7 100644 --- a/src/Appwrite/Platform/Workers/Certificates.php +++ b/src/Appwrite/Platform/Workers/Certificates.php @@ -305,10 +305,10 @@ class Certificates extends Action // For example, verification, or example certificate distribution to all edges if ($certificates->isIssueInstant($domain->get(), $domainType)) { $status = RULE_STATUS_SUCCESSFUL; - } - // Command succeeded, store all data into document - $certificate->setAttribute('logs', 'Certificate successfully generated.'); + // Command succeeded, store all data into document + $certificate->setAttribute('logs', 'Certificate successfully generated.'); + } // Update certificate info stored in database $certificate->setAttribute('renewDate', $renewDate);