diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 65bf17e..840d81f 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -208,9 +208,10 @@ global.pipelines=[]; var resdata = await getpipelines(token,pathfile) //console.log('info-------->>>>>>>>>>>> ', JSON.stringify(resdata)); //console.log('info----------------------- ', JSON.stringify(resdata.data)); - //resdata.data.pathlogfile = pathfile - resdata.data.pathlogfile = 'test' - var resob = resdata.data + //resdata.data.pathlogfile = 'test' + var resob = {} + resob.pathlogfile = pathfileval + resob.data = resdata.data var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname); //indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists")