add survey

This commit is contained in:
Swift
2024-02-23 12:24:30 +03:30
parent 4c60ef1c1b
commit fe4c7718ad
8 changed files with 286 additions and 10 deletions
+3
View File
@@ -19,6 +19,9 @@ const complaintController = require('../controllers/complaintController')
const brandController = require('../controllers/brandController')
/// //////////////////////////////////////////////////////// routes
/// ///////////// survey
router.post('/surveys', complaintController.createSurvey)
/// ///////////// Brand
router.get('/brand', brandController.getbrands)