diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index db36ccb..88bd3d8 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -137,7 +137,7 @@ cors(corsOptions), (req, res, next) => { var obj = req.body[i]; var reslog = new Object(); reslog.message = obj - reslog.date = var d = new Date(year, month, day, hour, minute, second, millisecond); + reslog.date = new Date(year, month, day, hour, minute, second, millisecond); io.emit("logdata", reslog); /*