From 32e160c209c5da983f397123612ba550406505c7 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 8 Oct 2024 22:01:25 +0530 Subject: [PATCH] feat: pass recording id to run metadata --- server/src/routes/storage.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/routes/storage.ts b/server/src/routes/storage.ts index faebdcf9..18955548 100644 --- a/server/src/routes/storage.ts +++ b/server/src/routes/storage.ts @@ -99,7 +99,7 @@ router.put('/runs/:fileName', requireSignIn, async (req, res) => { if (!recording || !recording.recordingId) { return res.status(404).send({ error: 'Recording not found' }); } - + const proxyConfig = await getDecryptedProxyConfig(req.user.id); let proxyOptions: any = {}; @@ -126,6 +126,7 @@ router.put('/runs/:fileName', requireSignIn, async (req, res) => { const run_meta = { status: 'RUNNING', name: req.params.fileName, + recordingId: recording.id, startedAt: new Date().toLocaleString(), finishedAt: '', browserId: id,