chore: lint

This commit is contained in:
karishmas6
2024-10-10 01:19:31 +05:30
parent b83dc9d755
commit 6dcc927d6a

View File

@@ -99,7 +99,7 @@ router.delete('/runs/:id', requireSignIn, async (req, res) => {
*/
router.put('/runs/:id', requireSignIn, async (req, res) => {
try {
console.log(`Params recieved:`,req.params )
console.log(`Params recieved:`, req.params)
const recording = await Robot.findOne({
where: {
'recording_meta.id': req.params.id
@@ -211,7 +211,7 @@ router.post('/runs/run/:id', requireSignIn, async (req, res) => {
return res.status(404).send(false);
}
const recording = await Robot.findOne({ where: { 'recording_meta.id': run.robotMetaId }, raw: true });
const recording = await Robot.findOne({ where: { 'recording_meta.id': run.robotMetaId }, raw: true });
if (!recording) {
return res.status(404).send(false);
}