Skip to content

Commit c53958e

Browse files
authored
Merge pull request #96 from FieldDB/promisify
Promisify corpus functions
2 parents 9b92a7f + b00a716 commit c53958e

316 files changed

Lines changed: 4963 additions & 3137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

auth_service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ authWebService.use((req, res, next) => {
128128
const err = new Error('Not Found');
129129
debug(`${req.url} was not found/handled`);
130130
err.status = 404;
131-
return next(err, req, res, next);
131+
// return next(err, req, res, next);
132132
// }
133-
// next();
133+
next(err);
134134
});
135135

136136
authWebService.use(errorHandler);

0 commit comments

Comments
 (0)