bugfix + patch

- fix update function
- added patch
This commit is contained in:
cv
2021-04-10 16:32:57 +02:00
parent ba8274819e
commit 85de94e077
3 changed files with 80 additions and 51 deletions
+3
View File
@@ -19,6 +19,9 @@ router.post('/', eventsController.eventsPost);
// create route between controller and '/events/:id' endpoint
router.put('/', eventsController.eventsPut);
// create route between controller and '/events/:id' endpoint
router.patch('/', eventsController.eventsPatch);
// create route between controller and '/events/:id' endpoint
router.delete('/:id', eventsController.eventsDelete);