Skip to content

Commit caf60ef

Browse files
committed
message
1 parent d0448cb commit caf60ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/posts-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const getPostByCategoryHandler = async (req, res) => {
6565
const category = req.params.category;
6666
try {
6767
// Validation - check if category is valid
68-
console.log(validCategories, category)
68+
6969
if (!validCategories.includes(category)) {
7070
return res.status(HTTP_STATUS.BAD_REQUEST).json({ message: RESPONSE_MESSAGES.POSTS.INVALID_CATEGORY });
7171
}

0 commit comments

Comments
 (0)