mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Update comment
This commit is contained in:
parent
8fe5a47a35
commit
5897a70536
1 changed files with 2 additions and 2 deletions
|
|
@ -99,8 +99,8 @@ class CertificatesV1 extends Worker
|
|||
&& (($certificate['issueDate'] + ($expiry)) > \time())
|
||||
) { // Check last issue time
|
||||
|
||||
// Update document anyway, if needed
|
||||
// This occurs when a cert is already generated because a different project is using the domain
|
||||
// Update document anyway, if needed.
|
||||
// This occurs when a cert is already generated because a different project is using the domain.
|
||||
// By updating here we ensure all domains has certificateId assigned (share same certificate document)
|
||||
if(!isset($document['certificateId'])) {
|
||||
$certificate = new Document($certificate);
|
||||
|
|
|
|||
Loading…
Reference in a new issue