fix bug in task approval notification

This commit is contained in:
Matteo Pagliazzi 2018-07-03 11:23:44 +02:00
parent dfc54f1600
commit accba7fc13

View file

@ -598,7 +598,7 @@ api.scoreTask = {
groupId: group._id,
taskId: task._id, // user task id, used to match the notification when the task is approved
userId: user._id,
groupTaskId: task.group.id, // the original task id
groupTaskId: task.group.taskId, // the original task id
direction,
});
managerPromises.push(manager.save());