Archived
frontend et backend: Supprimer un commentaire
This commit is contained in:
1 parent
39a332a867
commit
0ac2fbf3ab
4 files changed
+45
-5
No files matched your search
@@ -4,6 +4,11 @@ const isAuth = require('../middlewares/isAuth');
|
||||
|
||||
const CommentsRouter = Router();
|
||||
|
||||
CommentsRouter.route('/')
|
||||
|
||||
// Supprime un commentaire
|
||||
.delete(isAuth, commentsController.deleteCommentById);
|
||||
|
||||
CommentsRouter.route('/:functionId')
|
||||
|
||||
// Récupère les commentaires
|
||||
|
||||
Reference in new issue
Block a user