src/controllers/commentControllers.js
Showing 0 of 1 total issue
Function createComment
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
static async createComment(req, res) { try { const { houseId } = req.params const { comment } = req.body const userId = req.user.id