lib/middleware/body-parser.js
Function exports
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (req, res, next) => {
req.bodyChunks = [];
req.on("data", (chunk) => {
req.bodyChunks.push(chunk);
- Create a ticketCreate a ticket