diff --git a/src/routers/task/index.ts b/src/routers/task/index.ts index 7fac379..ad54639 100644 --- a/src/routers/task/index.ts +++ b/src/routers/task/index.ts @@ -7,7 +7,7 @@ import verifyParent from '../middlewares/verifyParent'; const router = Router(); router.use('/', verifyToken, rootCommonRouter); -router.use('/' , verifyToken, verifyParent, rootParentRouter); +router.use('/' , verifyToken, rootParentRouter); router.use('/history', verifyToken, historyCommonRouter); router.use('/history', verifyToken, historyParentRouter);