mirror of
https://github.com/franjsco/trackmyd-api
synced 2025-06-06 00:29:14 +02:00
add update function in controller/routes
This commit is contained in:
@ -9,6 +9,8 @@ router
|
||||
|
||||
router
|
||||
.route('/devices/:deviceId')
|
||||
.get(deviceController.view);
|
||||
.get(deviceController.view)
|
||||
.put(deviceController.update)
|
||||
.patch(deviceController.update);
|
||||
|
||||
module.exports = router;
|
||||
|
Reference in New Issue
Block a user