make jshint happy
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = function dbConnSetupMiddleware(pgConnection) {
|
||||
// FIXME: Temporary hack to share data between middlewares. Express overrides req.params to
|
||||
// parse url params to an object and it's performed after matching path and controller.
|
||||
if (!res.locals) {
|
||||
res.locals = {}
|
||||
res.locals = {};
|
||||
}
|
||||
_.defaults(res.locals, req.params);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user