fix: remove raw true
This commit is contained in:
@@ -341,7 +341,7 @@ router.post('/gsheets/update', requireSignIn, async (req, res) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
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) {
|
if (!robot) {
|
||||||
return res.status(404).json({ message: 'Robot not found' });
|
return res.status(404).json({ message: 'Robot not found' });
|
||||||
|
|||||||
Reference in New Issue
Block a user