From 31e0cd0d981b7d4a6fdc8b1b65b49e04487bc6b7 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 8 Oct 2024 21:17:14 +0530 Subject: [PATCH] feat: remove duration --- server/src/routes/storage.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/routes/storage.ts b/server/src/routes/storage.ts index f96b1786..51b6b6aa 100644 --- a/server/src/routes/storage.ts +++ b/server/src/routes/storage.ts @@ -169,7 +169,6 @@ router.post('/runs/run/:fileName/:runId', requireSignIn, async (req, res) => { if (browser && currentPage) { const interpretationInfo = await browser.interpreter.InterpretRecording( parsedRecording.recording, currentPage, parsedRun.interpreterSettings); - const duration = Math.round((new Date().getTime() - new Date(parsedRun.startedAt).getTime()) / 1000); await destroyRemoteBrowser(parsedRun.browserId); const run_meta = { ...parsedRun,