|
|
@@ -9,7 +9,7 @@ router.get('/', (req, res) => {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
-router.use('/laporan', auth, roleId([2020, 2021]), require('./laporan'))
|
|
|
+router.use('/laporan', auth, roleId([2020, 2021, 2023]), require('./laporan'))
|
|
|
router.use('/sanksi', auth, require('./sanksi'))
|
|
|
router.use('/public', require('./public.routes'))
|
|
|
router.use('/auth', require('./auth.routes'))
|
|
|
@@ -17,7 +17,7 @@ router.use('/user', auth, require('./user.routes'))
|
|
|
router.use('/pemantauan', auth, require('./pemantauan.routes'))
|
|
|
router.use('/pt', auth, require('./pt.routes'))
|
|
|
router.use('/pelanggaran', auth, require('./pelanggaran.routes'))
|
|
|
-router.use('/lembaga', auth, roleId(2020), require('./lembaga.routes'))
|
|
|
+router.use('/lembaga', auth, roleId([2020, 2023]), require('./lembaga.routes'))
|
|
|
router.use('/graph', require('./graph.routes'))
|
|
|
|
|
|
module.exports = router
|