res.locals forgotten things and make jshint happy
This commit is contained in:
@@ -177,7 +177,13 @@ LayergroupController.prototype.dataview = function(req, res, next) {
|
||||
var mapConfigProvider = new MapStoreMapConfigProvider(
|
||||
self.mapStore, req.context.user, self.userLimitsApi, res.locals
|
||||
);
|
||||
self.dataviewBackend.getDataview(mapConfigProvider, req.context.user, req.params.dataviewName, res.locals, this);
|
||||
self.dataviewBackend.getDataview(
|
||||
mapConfigProvider,
|
||||
req.context.user,
|
||||
req.params.dataviewName,
|
||||
res.locals,
|
||||
this
|
||||
);
|
||||
},
|
||||
function finish(err, dataview, stats) {
|
||||
req.profiler.add(stats || {});
|
||||
|
||||
Reference in New Issue
Block a user