Skip to content

Commit

Permalink
Merge pull request #8 from amiparadis250/ft-mybrand-ci
Browse files Browse the repository at this point in the history
comments Auth removed
  • Loading branch information
amiparadis250 authored Mar 11, 2024
2 parents 02b7dda + 69d8f6c commit 39fcefe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/routes/commentRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import validateComments from '../validations/commentsvalidation';

const commentRoutes = express.Router();

commentRoutes.post('/:id/comments', isLogin,validateComments ,addComment);
commentRoutes.post('/:id/comments',validateComments ,addComment);
commentRoutes.delete('/:id/comments/:commentId', isLogin, isAdmin, deleteComment);
commentRoutes.get('/:id/comments/:commentId', getOneComment);
commentRoutes.get('/:id/comments', getAllCommentsForBlog);
Expand Down

0 comments on commit 39fcefe

Please sign in to comment.