Skip to content

Commit 84ca6fc

Browse files
committed
Merge pull request aguidrevitch#20 from olalonde/master
Fixed JSON compatibility issue
2 parents 815f050 + d4061ac commit 84ca6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/filehandler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function (middleware, options) {
1717
: 'text/plain'
1818
});
1919
files = {files: result};
20-
res.json(200, files);
20+
res.json(200, { files: files });
2121
}
2222
});
2323

0 commit comments

Comments
 (0)