diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 15c782b..9f850db 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -520,7 +520,7 @@ function onCollection(err, collection) { var reslog = new Object(); var now = new Date(); cursor.on('data', function (data) { - var issendob = {}; + var issendob = new Object(); issendob.id = data.id issendob.message = data.message issendob.tailed_path = data.tailed_path