Use 'const' instead of 'var'

This commit is contained in:
Daniel García Aubert 2018-05-30 17:02:15 +02:00
parent cd0be5f79d
commit d8b0d338c0

View File

@ -1,4 +1,4 @@
var MapStoreMapConfigProvider = require('./map-store-provider');
const MapStoreMapConfigProvider = require('./map-store-provider');
const QueryTables = require('cartodb-query-tables');
/**
@ -34,7 +34,7 @@ CreateLayergroupMapConfigProvider.prototype.getMapConfig = function(callback) {
return callback(null, this.mapConfig, this.params, this.context);
}
var context = {};
const context = {};
this.userLimitsBackend.getRenderLimits(this.user, this.params.api_key, (err, renderLimits) => {
if (err) {