diff --git a/server/src/api/record.ts b/server/src/api/record.ts index a69b1de3..11a10dc0 100644 --- a/server/src/api/record.ts +++ b/server/src/api/record.ts @@ -30,7 +30,7 @@ const formatRecording = (recordingData: any) => { router.get("/robots", requireAPIKey, async (req: Request, res: Response) => { try { - const robots = await Robot.findAll(); + const robots = await Robot.findAll({ raw: true}); const formattedRecordings = robots.map(formatRecording); const response = {