feat: Adding states endpoint and regex find to current endpoints
This commit is contained in:
@@ -3,6 +3,7 @@ const router = require('express').Router();
|
||||
const services= require('./services.js');
|
||||
|
||||
router.get('/', services.getCountriesList);
|
||||
router.get('/find', services.findCountriesList);
|
||||
router.get('/:id', services.getCountry);
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user