Add new endpoint

This commit is contained in:
Mr Swift
2024-10-27 16:33:16 +03:30
parent 15ba0fab47
commit 03f9c164db
7 changed files with 202 additions and 27 deletions
+2
View File
@@ -3,10 +3,12 @@ const router = Router()
/// //////////////////////////////////////////////////////// controllers
const thirdPartyController = require('../controllers/thirdPartyController')
const renewal = require('../controllers/GPS.Renewal')
/// //////////////////////////////////////////////////////// routes
router.post('/reception', thirdPartyController.reception)
router.post('/repair', thirdPartyController.repair)
router.post('/sendBack', thirdPartyController.sendBack)
router.post('/renew', renewal.create)
module.exports = router