From 66add9c0c1c46199e333a09d943caa253befcedd Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 12 Oct 2024 16:33:04 +0530 Subject: [PATCH] feat: send run --- server/src/api/record.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/api/record.ts b/server/src/api/record.ts index 11ff0417..065a7128 100644 --- a/server/src/api/record.ts +++ b/server/src/api/record.ts @@ -358,12 +358,12 @@ function cleanupSocketListeners(socket: Socket, browserId: string, id: string) { router.post("/robots/:id/runs", requireAPIKey, async (req: Request, res: Response) => { try { - + const result = await handleRunRecording(req.params.id, req.body.userId); const response = { statusCode: 200, messageCode: "success", - run: '', + run: result, }; res.status(200).json(response);