Fix jshint issue

This commit is contained in:
Daniel García Aubert 2016-09-01 16:53:10 +02:00
parent 7c6a58cd30
commit 908070ecd7

View File

@ -190,7 +190,7 @@ NamedMapsController.prototype.staticMap = function(req, res) {
);
};
NamedMapsController.prototype.prepareLayerFilterFromPreviewLayers = function (cdbUser, req, namedMapProvider, callback) {
NamedMapsController.prototype.prepareLayerFilterFromPreviewLayers = function (user, req, namedMapProvider, callback) {
var self = this;
namedMapProvider.getTemplate(function (err, template) {
if (err) {
@ -219,7 +219,7 @@ NamedMapsController.prototype.prepareLayerFilterFromPreviewLayers = function (cd
// recreates the provider
self.namedMapProviderCache.get(
cdbUser,
user,
req.params.template_id,
req.query.config,
req.query.auth_token,