diff --git a/src/routes/datasource.ts b/src/routes/datasource.ts index bf7d766..336d88b 100644 --- a/src/routes/datasource.ts +++ b/src/routes/datasource.ts @@ -10,7 +10,7 @@ function sendOk(req, res) { } function search(req, res) { - fs.readdir(EXPORTED_PATH, (err, items) => { + fs.readdir(EXPORTED_PATH, err => { if(err) { console.error(err); res.status(500).send('Something went wrong');