From 3ffff8bce0b2d51812d0249cb46749607adc92e7 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 10 Dec 2020 19:03:35 +0200 Subject: [PATCH] add rest --- swarmlab-app/src/run/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 8362d56..ee9b2b5 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -395,7 +395,7 @@ cors(corsOptions), (req, res, next) => { console.log(item) for (let i in item) { reslab = item[i].message.app_name - if(resdata.filter(item1 => item1.res25swarmlabname.includes(reslab))({ + if(resdata.filter(item1 => item1.res25swarmlabname.includes(reslab))){ resdataarray.push(item[i]) resraw = resdata.data[i] }