Edit surveys

This commit is contained in:
Swift
2024-02-24 17:33:11 +03:30
parent a4a151ae6b
commit cd22b6eefc
5 changed files with 50 additions and 11 deletions
-1
View File
@@ -30,7 +30,6 @@ const brandController = require('../controllers/brandController')
/// //////////////////////////////////////////////////////// routes
/// ///////////// survey
router.get('/surveysPublic',hasPermission('surveys'), complaintController.getsSurvey)
router.get('/surveys',hasPermission('surveys'), surveyController.getAllForAdmin)
router.get('/surveys/:id',hasPermission('surveys'), surveyController.getOneForAdmin)