diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 23f2bceff..e7dde99fb 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -609,7 +609,7 @@ async function renewCerts(auditSource, progressCallback) { for (const app of allApps) { if (app.runState === apps.RSTATE_STOPPED) continue; // do not renew certs of stopped apps - locations = locations.concat(apps.apps.getLocationsSync(app)); + locations = locations.concat(apps.getLocationsSync(app)); } let percent = 1, renewedCertificateNames = []; @@ -657,7 +657,7 @@ async function cleanupCerts(auditSource, progressCallback) { for (const app of await apps.list()) { if (app.runState === apps.RSTATE_STOPPED) continue; // not in use - locations = locations.concat(apps.apps.getLocationsSync(app)); + locations = locations.concat(apps.getLocationsSync(app)); } const certsInUse = [ 'default.cert' ];