chore: lint
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user