123 added set up on router.get(user-tasks)

parent 05718ad8
......@@ -387,12 +387,13 @@ router.get('/users-tasks', auth,async (req: Request, res: Response):Promise<Resp
{ relations:{
members:true,
tasks:{
author:true,
author:true,
executor:true
}
},
where:{
members:{
roleProject:Not(Equal(MemberRole.WATCHER)),
user:{
id:user.id
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment