1
0
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:
Francesco Esposito
2019-02-20 08:29:32 +01:00
parent 673857ee52
commit 4190bb2736
2 changed files with 13 additions and 1 deletions

View File

@ -9,6 +9,8 @@ router
router
.route('/devices/:deviceId')
.get(deviceController.view);
.get(deviceController.view)
.put(deviceController.update)
.patch(deviceController.update);
module.exports = router;