mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
WIP(tests): fix various assign requests and needs-work flow
This commit is contained in:
@@ -347,6 +347,7 @@ api.taskNeedsWork = {
|
||||
User.findById(assignedUserId).exec(),
|
||||
await Tasks.Task.findOne({
|
||||
_id: taskId,
|
||||
'group.assignedUsers': assignedUserId,
|
||||
}).exec(),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user