Add new endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user