diff --git a/server/src/routes/record.ts b/server/src/routes/record.ts index cee9d4ae..374f837a 100644 --- a/server/src/routes/record.ts +++ b/server/src/routes/record.ts @@ -147,7 +147,7 @@ router.get('/stop/:browserId', requireSignIn, async (req: AuthenticatedRequest, }); if (!jobId) { - await destroyRemoteBrowser(req.user.id, req.user.id); + await destroyRemoteBrowser(req.params.browserId, req.user.id); return res.send(false); }