diff --git a/lib/cartodb/controllers/named_maps_admin.js b/lib/cartodb/controllers/named_maps_admin.js index 42a4cd31..53265cd5 100644 --- a/lib/cartodb/controllers/named_maps_admin.js +++ b/lib/cartodb/controllers/named_maps_admin.js @@ -5,13 +5,11 @@ var cors = require('../middleware/cors'); /** - * @param app * @param {TemplateMaps} templateMaps * @param {AuthApi} authApi * @constructor */ -function NamedMapsAdminController(app, templateMaps, authApi) { - this.app = app; +function NamedMapsAdminController(templateMaps, authApi) { this.templateMaps = templateMaps; this.authApi = authApi; } diff --git a/lib/cartodb/server.js b/lib/cartodb/server.js index 21d34f0c..99ea6a8f 100644 --- a/lib/cartodb/server.js +++ b/lib/cartodb/server.js @@ -209,7 +209,7 @@ module.exports = function(serverOptions) { tablesExtentApi ).register(app); - new controller.NamedMapsAdmin(app, templateMaps, authApi).register(app); + new controller.NamedMapsAdmin(templateMaps, authApi).register(app); new controller.ServerInfo().register(app);