Aded Task cleanup by number of weeks or months

This commit is contained in:
Brian McGonagill 2024-08-01 11:56:04 -05:00
parent e60c32894c
commit 98bcbcd256
6 changed files with 93 additions and 23 deletions

View file

@ -1,6 +1,7 @@
import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { check } from 'meteor/check';
import { TaskItems } from '../imports/api/tasks';
Meteor.methods({
'addToRole' (role) {
@ -57,5 +58,5 @@ Meteor.methods({
check(role, String);
return Roles.setUserRoles(userId, role);
}
},
});