Refactored remaining requests
This commit is contained in:
1 parent
f78e5ca94c
commit
92877e20ec
10 files changed
+174
-66
No files matched your search
@@ -15,12 +15,12 @@ router.get(
|
||||
checkController.getChecks
|
||||
);
|
||||
|
||||
router.get("/user/:userId", checkController.getUserChecks);
|
||||
|
||||
router.delete(
|
||||
"/:monitorId",
|
||||
verifyOwnership(Monitor, "monitorId"),
|
||||
checkController.deleteChecks
|
||||
);
|
||||
|
||||
router.get("/user/:userId", checkController.getUserChecks);
|
||||
|
||||
module.exports = router;
|
||||
Reference in new issue
Block a user