From 41893efa97c21de1de91a6775de46b2821e665ce Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 10 Dec 2020 19:25:40 +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 6f387c8..3158bc5 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.data.filter(item1 => item1.res25swarmlabname.includes(reslab))){ resdataarray.push(item[i]) } }