diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index a459af7d..80cb4b08 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -1,14 +1,11 @@ -var cors = require('../middleware/cors'); -var userMiddleware = require('../middleware/user'); -var allowQueryParams = require('../middleware/allow-query-params'); -var vectorError = require('../middleware/vector-error'); - -var DataviewBackend = require('../backends/dataview'); -var AnalysisStatusBackend = require('../backends/analysis-status'); - -var MapStoreMapConfigProvider = require('../models/mapconfig/provider/map-store-provider'); - -var QueryTables = require('cartodb-query-tables'); +const cors = require('../middleware/cors'); +const userMiddleware = require('../middleware/user'); +const allowQueryParams = require('../middleware/allow-query-params'); +const vectorError = require('../middleware/vector-error'); +const DataviewBackend = require('../backends/dataview'); +const AnalysisStatusBackend = require('../backends/analysis-status'); +const MapStoreMapConfigProvider = require('../models/mapconfig/provider/map-store-provider'); +const QueryTables = require('cartodb-query-tables'); /** * @param {prepareContext} prepareContext