From 9337e7ebc3052d6a17213e87474d36130432e94d Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 10 Dec 2020 19:12:28 +0200 Subject: [PATCH] add rest --- swarmlab-app/src/run/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index ee9b2b5..4d0ee4e 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -397,13 +397,11 @@ cors(corsOptions), (req, res, next) => { reslab = item[i].message.app_name if(resdata.filter(item1 => item1.res25swarmlabname.includes(reslab))){ resdataarray.push(item[i]) - resraw = resdata.data[i] } } RES.error_msg = "ok" RES.data = item RES.dataserver = resdataarray - RES.dataserverraw = resraw res.json(RES) }) .catch(err => {