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

parent 05718ad8
...@@ -393,6 +393,7 @@ router.get('/users-tasks', auth,async (req: Request, res: Response):Promise<Resp ...@@ -393,6 +393,7 @@ router.get('/users-tasks', auth,async (req: Request, res: Response):Promise<Resp
}, },
where:{ where:{
members:{ members:{
roleProject:Not(Equal(MemberRole.WATCHER)),
user:{ user:{
id:user.id 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