Rename middleware fn name

This commit is contained in:
Raul Ochoa 2018-01-03 18:44:10 +00:00
parent 3ceeaedf02
commit 060b93c314

View File

@ -329,7 +329,7 @@ function getTilejson(tiles, grids) {
}
MapController.prototype.setTilejsonMetadataToLayergroup = function () {
return function augmentLayergroupDataMiddleware (req, res, next) {
return function augmentLayergroupTilejsonMiddleware (req, res, next) {
const { layergroup, user, mapconfig } = res.locals;
const isVectorOnlyMapConfig = mapconfig.isVectorOnlyMapConfig();