summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorjymcheong <jym@jym.sg>2019-08-14 15:44:47 +0800
committerjymcheong <jym@jym.sg>2019-08-14 15:44:47 +0800
commit843478ac40b7718f1096a75295522487f0ca6dbe (patch)
tree0fd277a7671948094d40fda2cb535a2f45d86f2a /server
parent43d14f8b2b25c2b4b536f747a151b92a7bb014f0 (diff)
downloadwekan-843478ac40b7718f1096a75295522487f0ca6dbe.tar.gz
wekan-843478ac40b7718f1096a75295522487f0ca6dbe.tar.bz2
wekan-843478ac40b7718f1096a75295522487f0ca6dbe.zip
Webhook cardDetails onRendered
Send webhook when cardDetails is rendered.
Diffstat (limited to 'server')
-rw-r--r--server/statistics.js10
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;
},