diff options
author | Sam X. Chen <sam.xi.chen@gmail.com> | 2019-08-15 14:28:18 -0400 |
---|---|---|
committer | Sam X. Chen <sam.xi.chen@gmail.com> | 2019-08-15 14:28:18 -0400 |
commit | 86d686fe1d008835b9db07e93cbe434ce34eb659 (patch) | |
tree | 2259edc05ea34bcdb553d846edd8212edcc1c7e7 | |
parent | 7d52ae16d526602e8a01c6bf8157396cb1c7afe8 (diff) | |
download | wekan-86d686fe1d008835b9db07e93cbe434ce34eb659.tar.gz wekan-86d686fe1d008835b9db07e93cbe434ce34eb659.tar.bz2 wekan-86d686fe1d008835b9db07e93cbe434ce34eb659.zip |
Bugfix: 2621
-rw-r--r-- | server/statistics.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/statistics.js b/server/statistics.js index 288a5089..997fd86f 100644 --- a/server/statistics.js +++ b/server/statistics.js @@ -22,7 +22,7 @@ Meteor.methods({ let nodeVersion = process.version; nodeVersion = nodeVersion.replace('v', ''); statistics.process = { - nodeVersion: nodeVersion, + nodeVersion, pid: process.pid, uptime: process.uptime(), }; @@ -30,7 +30,7 @@ Meteor.methods({ let meteorVersion = Meteor.release; meteorVersion = meteorVersion.replace('METEOR@', ''); statistics.meteor = { - meteorVersion: meteorVersion, + meteorVersion, }; // Thanks to RocketChat for MongoDB version detection ! // https://github.com/RocketChat/Rocket.Chat/blob/develop/app/utils/server/functions/getMongoInfo.js @@ -59,9 +59,9 @@ Meteor.methods({ } } statistics.mongo = { - mongoVersion: mongoVersion, - mongoStorageEngine: mongoStorageEngine, - mongoOplogEnabled: mongoOplogEnabled, + mongoVersion, + mongoStorageEngine, + mongoOplogEnabled, }; return statistics; }, |