diff --git a/src/backend/src/services/worker/WorkerService.js b/src/backend/src/services/worker/WorkerService.js index ad5552bc6..ebfaefe73 100644 --- a/src/backend/src/services/worker/WorkerService.js +++ b/src/backend/src/services/worker/WorkerService.js @@ -280,7 +280,7 @@ class WorkerService extends BaseService { for (const domain of currentDomains) { const node = await domain.get("root_dir") const subdomainString = (await domain.get("subdomain")) - domainToPath.push({ name: subdomainString.split(".").pop(), url: `https://${subdomainString}`, file_path: await node.get("path"), file_uid: await node.get("uid"), created_at: await domain.get("created_at") }); + domainToPath.push({ name: subdomainString.split(".").pop(), url: `https://${subdomainString}`, file_path: await node.get("path"), file_uid: await node.get("uid"), created_at: (new Date(await domain.get("created_at"))).toISOString() }); } return domainToPath; } catch (e) {