mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Aded Task cleanup by number of weeks or months
This commit is contained in:
parent
e60c32894c
commit
98bcbcd256
6 changed files with 93 additions and 23 deletions
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue