diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 9aae84b..7bd3f2b 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -408,7 +408,7 @@ function onCollection(err, collection) { cursor.on('data', function (data) { console.log('data ' + data.value); var user = "anagnostopoulos@uniwa.gr" - io.in(user).emit("logdata", reslog); + io.in(user).emit("logdata", data.value); itemsProcessed++; });