reverseproxy: remove options from renewCerts

This commit is contained in:
Girish Ramakrishnan
2022-11-14 08:13:47 +01:00
parent 5e2a55ecad
commit 0843baad8b
4 changed files with 7 additions and 12 deletions

View File

@@ -297,11 +297,10 @@ async function updateDashboardDomain(domain, auditSource) {
safe(services.rebuildService('turn', auditSource), { debug }); // to update the realm variable
}
async function renewCerts(options, auditSource) {
assert.strictEqual(typeof options, 'object');
async function renewCerts(auditSource) {
assert.strictEqual(typeof auditSource, 'object');
const taskId = await tasks.add(tasks.TASK_CHECK_CERTS, [ options, auditSource ]);
const taskId = await tasks.add(tasks.TASK_CHECK_CERTS, [ auditSource ]);
tasks.startTask(taskId, {});
return taskId;
}