From b11306038d408aab53c39b32397009c1966fa850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Tue, 7 Mar 2017 17:04:56 +0000 Subject: [PATCH] fix leak tree script --- spikes/leak/scripts/prometheus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spikes/leak/scripts/prometheus.js b/spikes/leak/scripts/prometheus.js index ca99e70e..28bb4983 100644 --- a/spikes/leak/scripts/prometheus.js +++ b/spikes/leak/scripts/prometheus.js @@ -113,7 +113,7 @@ const tree = module.exports.tree = async ({ }) })); - return transform(res); + return transform(JSON.parse(res.body)); }; if (!module.parent) {