chore: lint

This commit is contained in:
karishmas6
2024-06-09 00:46:59 +05:30
parent c14eb7995e
commit bd9ef28155

View File

@@ -13,7 +13,7 @@ export const router = Router();
* Logs information about workflow API. * Logs information about workflow API.
*/ */
router.all('/', (req, res, next) => { router.all('/', (req, res, next) => {
logger.log('debug',`The workflow API was invoked: ${req.url}`) logger.log('debug', `The workflow API was invoked: ${req.url}`)
next() // pass control to the next handler next() // pass control to the next handler
}) })
@@ -116,7 +116,7 @@ router.put('/:browserId/:fileName', async (req, res) => {
} }
return res.send(null); return res.send(null);
} catch (e) { } catch (e) {
const {message} = e as Error; const { message } = e as Error;
logger.log('info', `Error while reading a recording with name: ${req.params.fileName}.waw.json`); logger.log('info', `Error while reading a recording with name: ${req.params.fileName}.waw.json`);
return res.send(null); return res.send(null);
} }