Skip to content

Commit

Permalink
Added todo annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhdevelop committed Oct 14, 2024
1 parent 1bb4bb6 commit 7922468
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ const getSelfDetails = async (req, res) => {
* Update the user
* @deprecated [SCHEDULED] This Controller will be removed in the near Future, New controller TBD.
*
* @todo vikas would be working on this as a sub part of his task issue #2126
* https://github.com/vikasosmium
*
* @param req {Object} - Express request object
* @param req.body {Object} - User object
* @param res {Object} - Express response object
Expand Down
2 changes: 2 additions & 0 deletions routes/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ router.post("/verify", authenticate, users.verifyUser);
router.get("/userId/:userId", users.getUserById);
/**
* @deprecated [SCHEDULED] This endpoint will be deprecated in the near future. New EndPoint TBD.
* @todo vikas would be working on this as a sub part of his task issue #2126
* https://github.com/vikasosmium
*/
router.patch("/self", authenticate, userValidator.updateUser, users.updateSelf);
router.get("/", userValidator.getUsers, users.getUsers);
Expand Down

0 comments on commit 7922468

Please sign in to comment.