diff --git a/server/src/routes/auth.ts b/server/src/routes/auth.ts index 6ca305bb..07b4a50a 100644 --- a/server/src/routes/auth.ts +++ b/server/src/routes/auth.ts @@ -341,7 +341,7 @@ router.post('/gsheets/update', requireSignIn, async (req, res) => { } try { - let robot = await Robot.findOne({ where: { 'recording_meta.id': robotId }, raw:true }); + let robot = await Robot.findOne({ where: { 'recording_meta.id': robotId } }); if (!robot) { return res.status(404).json({ message: 'Robot not found' });