reverseproxy: remove options from renewCerts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user