From 53e80478c56fd0f9c659adedf9791d1dae24cd7e Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 23 Nov 2020 12:25:09 +0200 Subject: [PATCH] global --- swarmlab-app/src/run/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 6cc877b..de5d237 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -93,6 +93,7 @@ async function checkToken(token) { instance.defaults.timeout = 30000; const res = await instance.post('/istokenvalidsso',params,options); if(res.status == 200){ + console.log(JSON.stringify(res)) return res.data }else{ console.log("noerror: " + res) @@ -228,7 +229,7 @@ global.pipelines=[]; indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") //console.log('info', JSON.stringify(resdata)); - console.log('info------------- ', JSON.stringify(global.pipelines)); + //console.log('info------------- ', JSON.stringify(global.pipelines)); })() }) .on('addDir', function(path) {