Add move function to boards mutations

This commit is contained in:
boeserwolf 2020-04-19 12:38:56 +03:00
parent 10fcc19b7f
commit b3efa71d13

View file

@ -1194,6 +1194,10 @@ Boards.mutations({
setPresentParentTask(presentParentTask) {
return { $set: { presentParentTask } };
},
move(sortIndex) {
return { $set: { sort: sortIndex } };
},
});
function boardRemover(userId, doc) {