From c54c25c35e0c5a4705e0f4e057fd574a9f0b1049 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 24 Aug 2020 12:57:48 -0700 Subject: [PATCH] fix task signature --- src/cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloudron.js b/src/cloudron.js index 296dc3af6..746c9906d 100644 --- a/src/cloudron.js +++ b/src/cloudron.js @@ -279,7 +279,7 @@ function prepareDashboardDomain(domain, auditSource, callback) { const conflict = result.filter(app => app.fqdn === fqdn); if (conflict.length) return callback(new BoxError(BoxError.BAD_STATE, 'Dashboard location conflicts with an existing app')); - tasks.add(tasks.TASK_SETUP_DASHBOARD_DNS_AND_CERT, [ domain, auditSource ], function (error, taskId) { + tasks.add(tasks.TASK_SETUP_DNS_AND_CERT, [ constants.ADMIN_LOCATION, domain, auditSource ], function (error, taskId) { if (error) return callback(error); tasks.startTask(taskId, {}, NOOP_CALLBACK);