From bd1270a75b9ab8c3738b3ec2936e6f366d192ecf Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 19 Sep 2024 08:48:49 +0530 Subject: [PATCH] chore: -rm comment --- server/src/routes/storage.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/routes/storage.ts b/server/src/routes/storage.ts index 08be5b7c..11ccdcfc 100644 --- a/server/src/routes/storage.ts +++ b/server/src/routes/storage.ts @@ -144,10 +144,9 @@ router.get('/runs/run/:fileName/:runId', async (req, res) => { */ router.post('/runs/run/:fileName/:runId', async (req, res) => { try { - // read the recording from storage const recording = await readFile(`./../storage/recordings/${req.params.fileName}.waw.json`) const parsedRecording = JSON.parse(recording); - // read the run from storage + const run = await readFile(`./../storage/runs/${req.params.fileName}_${req.params.runId}.json`) const parsedRun = JSON.parse(run);