make jshint happy

This commit is contained in:
Simon
2017-09-26 18:25:47 +02:00
parent 134cc9ac0c
commit 84cd93b1b0
@@ -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);