From 84cd93b1b0118b529939a68ce45625db12181292 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 26 Sep 2017 18:25:47 +0200 Subject: [PATCH] make jshint happy --- lib/cartodb/middleware/context/db-conn-setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cartodb/middleware/context/db-conn-setup.js b/lib/cartodb/middleware/context/db-conn-setup.js index e9959ed0..97efb77d 100644 --- a/lib/cartodb/middleware/context/db-conn-setup.js +++ b/lib/cartodb/middleware/context/db-conn-setup.js @@ -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);