This commit is contained in:
Swift
2024-02-02 15:47:43 +03:30
parent 9bf340dc32
commit caf27b87fe
4 changed files with 165 additions and 44 deletions
+1
View File
@@ -30,6 +30,7 @@ const complaintController = require('../controllers/complaintController')
/// ///////////// Complaint
router.get('/complaint',hasPermission('complaint'), complaintController.gets)
router.get('/complaint/:id',hasPermission('complaint'), complaintController.get)
/// ///////////// warranty terms
router.post('/warranty', hasPermission('warranty-terms'), warrantyTermsController.create)
router.put('/warranty/:id', hasPermission('warranty-terms'), warrantyTermsController.update)