diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index 63210eb4..f2440306 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -183,10 +183,10 @@ LayergroupController.prototype.staticMap = function(req, res, width, height, zoo var self = this; step( - function() { + function reqParams() { self.req2params(req, this); }, - function(err) { + function getImage(err) { assert.ifError(err); if (center) { self.previewBackend.getImage(