mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
15 lines
243 B
JavaScript
15 lines
243 B
JavaScript
![]() |
Meteor.publish('rules', (ruleId) => {
|
||
|
check(ruleId, String);
|
||
|
return Rules.find({ _id: ruleId });
|
||
|
});
|
||
|
|
||
|
|
||
|
Meteor.publish('allRules', () => {
|
||
|
return Rules.find({});
|
||
|
});
|
||
|
|
||
|
|
||
|
Meteor.publish('allTriggers', () => {
|
||
|
return Triggers.find({});
|
||
|
});
|