Skip to content

Commit

Permalink
Merge pull request #29 from CedricTheveneau/fix
Browse files Browse the repository at this point in the history
Switched routes for User
  • Loading branch information
CedricTheveneau authored Nov 11, 2024
2 parents ee9a10d + 04702af commit 9aec06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Auth/app/routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ router.put("/saveArticle/:id", auth, userCtrl.saveArticle);
router.put("/upvoteArticle/:id", auth, userCtrl.upvoteArticle);
router.put("/articlesHistory/:id", auth, userCtrl.articlesHistory);
router.put("/removeArticleByIds", auth, userCtrl.removeArticleByIds);
router.put("/removePostByIds", auth, userCtrl.removePostByIds);
router.put("/savePost/:id", auth, userCtrl.savePost);
router.put("/upvotePost/:id", auth, userCtrl.upvotePost);
router.put("/postsHistory/:id", auth, userCtrl.postsHistory);
router.put("/removePostByIds", auth, userCtrl.removePostByIds);
router.put("/:id", auth, userCtrl.update);
router.delete("/:id",auth, userCtrl.delete);
router.get("/info", auth, userCtrl.getUserInfoFromToken);
Expand Down

0 comments on commit 9aec06d

Please # to comment.