From a8fdd6726eef012bba4e05540c66e1f192e77940 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 23 May 2016 18:36:03 +0200 Subject: [PATCH] Fix style --- .../mapconfig/provider/named-map-provider.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/cartodb/models/mapconfig/provider/named-map-provider.js b/lib/cartodb/models/mapconfig/provider/named-map-provider.js index 8597a07e..453fcab9 100644 --- a/lib/cartodb/models/mapconfig/provider/named-map-provider.js +++ b/lib/cartodb/models/mapconfig/provider/named-map-provider.js @@ -140,13 +140,15 @@ NamedMapMapConfigProvider.prototype.getMapConfig = function(callback) { assert.ifError(err); var next = this; context.analysesResults = self.analysesResults; - self.overviewsAdapter.getMapConfig(self.owner, _mapConfig, rendererParams, context, function(err, _mapConfig) { - if (err) { - return next(err); - } + self.overviewsAdapter.getMapConfig(self.owner, _mapConfig, rendererParams, context, + function(err, _mapConfig) { + if (err) { + return next(err); + } - return next(null, _mapConfig, datasource); - }); + return next(null, _mapConfig, datasource); + } + ); }, function parseTurboCarto(err, _mapConfig, datasource) { assert.ifError(err);