feat(v1:ehicles): Adding global/find endpoint

This commit is contained in:
Josepablo C
2024-08-13 21:16:13 -06:00
parent 9b24704f76
commit db6af2e7da
3 changed files with 52 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ const router = require('express').Router();
const services= require('./services.js');
router.get('/find', services.findList);
router.get('/global/find', services.globalFindList);
router.post('/new', services.postVehicle);
router.patch('/:id', services.patchVehicle);