chore: -rm comment

This commit is contained in:
karishmas6
2024-09-19 08:48:49 +05:30
parent 2702260e32
commit bd1270a75b

View File

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