mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 15:18:49 +01:00
Webhook cardDetails onRendered
Send webhook when cardDetails is rendered.
This commit is contained in:
parent
43d14f8b2b
commit
843478ac40
2 changed files with 34 additions and 5 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue