From 24eaea35237e87b41df762c5d3e3d02968bf39a4 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 26 Jul 2021 22:16:01 -0700 Subject: [PATCH] add missing await --- src/reverseproxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 1da2e60e3..2b834b3c2 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -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));