diff --git a/ts/smartacme.classes.certmanager.ts b/ts/smartacme.classes.certmanager.ts index 8026eea..5b25b12 100644 --- a/ts/smartacme.classes.certmanager.ts +++ b/ts/smartacme.classes.certmanager.ts @@ -86,7 +86,7 @@ export class CertManager { } // otherwise lets continue - const existingCertificate = this.retrieveCertificate(certDomainArg); + const existingCertificate = await this.retrieveCertificate(certDomainArg); if (existingCertificate) { return 'existing'; }