diff --git a/lib/cartodb/controllers/map.js b/lib/cartodb/controllers/map.js index 7a1dc6be..2d26cf5d 100644 --- a/lib/cartodb/controllers/map.js +++ b/lib/cartodb/controllers/map.js @@ -78,16 +78,16 @@ MapController.prototype.composeCreateMapMiddleware = function ({ useTemplate = f useTemplate ? this.getTemplate.bind(this) : this.prepareAdapterMapConfig.bind(this), useTemplate ? this.instantiateLayergroup.bind(this) : this.createLayergroup.bind(this), this.incrementMapViewCount.bind(this), - this.augmentLayergroupData.bind(this), + this.augmentLayergroupData, this.getAffectedTables.bind(this), - this.setCacheChannel.bind(this), - this.setLastUpdatedTimeToLayergroup.bind(this), - this.setCacheControl.bind(this), + this.setCacheChannel, + this.setLastUpdatedTimeToLayergroup, + this.setCacheControl, this.setLayerStats.bind(this), this.setLayergroupIdHeaderBuilder(useTemplateHash), this.setDataviewsAndWidgetsUrlsToLayergroupMetadata.bind(this), this.setAnalysesMetadataToLayergroupBuilder(includeQuery), - this.setTurboCartoMetadataToLayergroup.bind(this), + this.setTurboCartoMetadataToLayergroup, this.setSurrogateKeyHeader.bind(this), sendResponse, augmentError({ label, addContext })