From 8b820dd121b39e338f170a9d8e71a1131c785a89 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 02:32:46 +0530 Subject: [PATCH] fix: format --- server/src/routes/storage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/routes/storage.ts b/server/src/routes/storage.ts index eb5185f1..ab2af9ec 100644 --- a/server/src/routes/storage.ts +++ b/server/src/routes/storage.ts @@ -153,7 +153,7 @@ router.put('/runs/:id', requireSignIn, async (req, res) => { const plainRun = run.toJSON(); -console.log(`Created run (plain object):`, plainRun); + console.log(`Created run (plain object):`, plainRun); // // we need to handle this via DB // fs.mkdirSync('../storage/runs', { recursive: true }) @@ -353,7 +353,7 @@ router.put('/schedule/:fileName/', requireSignIn, async (req, res) => { router.post('/runs/abort/:id', requireSignIn, async (req, res) => { try { console.log(`Params for POST /runs/abort/:id`, req.params.id) - const run = await Run.findOne({ where: { runId: req.params.id }}); + const run = await Run.findOne({ where: { runId: req.params.id } }); if (!run) { return res.status(404).send(false); }