From 10655b5294acee1e71f9e327510792f7c86cf0b8 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 10 Dec 2020 19:54:13 +0200 Subject: [PATCH] add rest --- swarmlab-app/src/run/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index c533929..420069c 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -367,6 +367,7 @@ cors(corsOptions), (req, res, next) => { RES.error = 'no' } if(RES.error == 'ok'){ + var resdata = await getuserpipelines(RES.token,isvalid.user,RES.swarmlabname) var mongourl = "mongodb://"+CONFIG.mongo.user+":"+CONFIG.mongo.password+"@ondemand_playground_mongo1:27017,ondemand_playground_mongo2:27017,ondemand_playground_mongo3:27017,ondemand_playground_mongo4:27017,ondemand_playground_mongo5:27017,ondemand_playground_mongo6:27017,ondemand_playground_mongo7:27017/fluent?replicaSet=rs1&authSource=swarmlabplaygroundstats" const OPTS = {