Remove some JSON.stringify

This commit is contained in:
Raul Ochoa 2016-04-14 13:20:22 +02:00
parent 9ab4eb5801
commit a9ca453b17

View File

@ -32,8 +32,6 @@ function layerQuery(query, columnNames) {
function appendFiltersToNodes(requestMapConfig, dataviewsFiltersBySourceId) {
var analyses = requestMapConfig.analyses || [];
debug(JSON.stringify(requestMapConfig, null, 4));
requestMapConfig.analyses = analyses.map(function(analysisDefinition) {
var analysisGraph = new camshaft.reference.AnalysisGraph(analysisDefinition);
var definition = analysisDefinition;
@ -44,8 +42,6 @@ function appendFiltersToNodes(requestMapConfig, dataviewsFiltersBySourceId) {
return definition;
});
debug(JSON.stringify(requestMapConfig, null, 4));
return requestMapConfig;
}
@ -95,7 +91,6 @@ AnalysisMapConfigAdapter.prototype.getLayers = function(analysisConfiguration, r
requestMapConfig = appendFiltersToNodes(requestMapConfig, dataviewsFiltersBySourceId);
if (!shouldAdaptLayers(requestMapConfig)) {
debug('mapconfig output', JSON.stringify(requestMapConfig, null, 4));
return callback(null, requestMapConfig);
}