diff --git a/server/src/api/record.ts b/server/src/api/record.ts index 22f2a8cc..0d3e0b68 100644 --- a/server/src/api/record.ts +++ b/server/src/api/record.ts @@ -140,7 +140,8 @@ router.get("/robots/:id/runs/:runId", requireAPIKey, async (req: Request, res: R try { const run = await Run.findOne({ where: { - runId: req.params.runId + runId: req.params.runId, + robotMetaId: req.params.id, }, raw: true });