fix: remove raw true

This commit is contained in:
karishmas6
2024-10-17 18:57:03 +05:30
parent 4d68478011
commit 957ce77bff

View File

@@ -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' });