From ece586bd1b79606fc345a3943f592644f491e8cb Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 9 Dec 2020 14:25:56 +0200 Subject: [PATCH] getlog --- swarmlab-app/src/run/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 5a37df4..83fab7c 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -334,7 +334,7 @@ db.collection('logs').find({}, {}) - +/* const find = async () => { try { var stream = await db.collection('logs').find({}, {}) @@ -349,7 +349,7 @@ const find = async () => { } await find() - +*/ //stream.on('data', function (doc) { // console.log(JSON.stringify(doc))