server/controllers/ParcelController.js
Function viewUserParcelsById
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static viewUserParcelsById(req, res) {
const userId = req.decoded.user_id;
const { id } = req.params;
console.log(userId,);
if (userId != id) {