mirror of
https://github.com/franjsco/trackmyd-api
synced 2025-06-06 00:29:14 +02:00
add add/find query parameters in controller/routes
This commit is contained in:
@ -5,7 +5,8 @@ const router = express.Router();
|
||||
|
||||
router
|
||||
.route('/devices')
|
||||
.get(deviceController.index);
|
||||
.get(deviceController.index)
|
||||
.post(deviceController.add);
|
||||
|
||||
router
|
||||
.route('/devices/:deviceId')
|
||||
|
Reference in New Issue
Block a user