Skip to content

Commit

Permalink
--hotfix: commented init route
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiksr25 committed Dec 31, 2020
1 parent ad74542 commit 192894f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/api/v1/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ router.post(
// delete a user
router.get("/delete/:id", catchErrors(adminAuth), catchErrors(deleteUser));
// view a user
// router.get("/:id", catchErrors(adminAuth), catchErrors(viewUser));
router.get("/init", catchErrors(init));
router.get("/:id", catchErrors(adminAuth), catchErrors(viewUser));
// router.post("/init", catchErrors(init));
// export router
module.exports = router;

0 comments on commit 192894f

Please sign in to comment.