Browse Source

Minor fix

pull/1/head
rozetko 6 years ago
parent
commit
0120271b27
  1. 2
      src/routes/datasource.ts

2
src/routes/datasource.ts

@ -10,7 +10,7 @@ function sendOk(req, res) {
} }
function search(req, res) { function search(req, res) {
fs.readdir(EXPORTED_PATH, (err, items) => { fs.readdir(EXPORTED_PATH, err => {
if(err) { if(err) {
console.error(err); console.error(err);
res.status(500).send('Something went wrong'); res.status(500).send('Something went wrong');

Loading…
Cancel
Save