diff --git a/lib/cartodb/controllers/named_maps_admin.js b/lib/cartodb/controllers/named_maps_admin.js index 4d866b9b..4a0e97bf 100644 --- a/lib/cartodb/controllers/named_maps_admin.js +++ b/lib/cartodb/controllers/named_maps_admin.js @@ -1,7 +1,6 @@ -var templateName = require('../backends/template_maps').templateName; - -var cors = require('../middleware/cors'); -var userMiddleware = require('../middleware/user'); +const { templateName } = require('../backends/template_maps'); +const cors = require('../middleware/cors'); +const userMiddleware = require('../middleware/user'); /** * @param {AuthApi} authApi