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);