add missing await
This commit is contained in:
@@ -412,7 +412,7 @@ function ensureCertificate(vhost, domain, auditSource, callback) {
|
||||
return callback(null, getFallbackCertificatePathSync(domain), { renewed: false });
|
||||
}
|
||||
|
||||
const { acmeApi, apiOptions } = getAcmeApi(domainObject);
|
||||
const { acmeApi, apiOptions } = await getAcmeApi(domainObject);
|
||||
let notAfter = null;
|
||||
|
||||
const [, currentBundle] = await safe(checkAcmeCertificate(vhost, domainObject));
|
||||
|
||||
Reference in New Issue
Block a user