Fix bug and update
This commit is contained in:
@@ -85,6 +85,8 @@ router.get('/user/:id', hasPermission('customers'), userController.get_one_user_
|
||||
router.put('/user/:id', hasPermission('customers'), userController.updateUserByAdmin)
|
||||
router.put('/user/changeVerityInfo/:id', hasPermission('customers'), userController.change_verity_info_by_admin)
|
||||
router.put('/user/changePanatechInfo/:id', hasPermission('customers'), userController.change_panatech_info_by_admin)
|
||||
router.put('/user/update/:id', hasPermission('customers'), userController.update_user_by_admin)
|
||||
|
||||
|
||||
/// ///////////// serials exel file
|
||||
router.post('/addExel', hasPermission('serials-exel'), serialsExelController.addExel)
|
||||
|
||||
@@ -14,6 +14,7 @@ const helpController = require('../controllers/helpController')
|
||||
const lotteryPopUpController = require('../controllers/lotteryPopUpController')
|
||||
const lotteryController = require('../controllers/lotteryController')
|
||||
const representationController = require('../controllers/representationController')
|
||||
const announcementController = require('../controllers/announcementController')
|
||||
|
||||
/// //////////////////////////////////////////////////////// routes
|
||||
/// ///////////// warranty terms
|
||||
@@ -57,4 +58,8 @@ router.get('/lotteryPopUp', lotteryPopUpController.getPopUpInfo)
|
||||
router.get('/lastLottery', lotteryController.getLastLottery)
|
||||
router.post('/enrollParticipant', lotteryController.enrollParticipant)
|
||||
|
||||
/// //////////// announcement
|
||||
router.get('/announcement', announcementController.getNotifsForSite)
|
||||
|
||||
|
||||
module.exports = router
|
||||
|
||||
Reference in New Issue
Block a user