From 0120271b2738b4faa5a88ae10e66465a25245693 Mon Sep 17 00:00:00 2001 From: rozetko Date: Fri, 21 Sep 2018 19:18:56 +0300 Subject: [PATCH] Minor fix --- src/routes/datasource.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');