server/core/controllers/api/abuse.ts
Function reportAbuse
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function reportAbuse (req: express.Request, res: express.Response) {
const videoInstance = res.locals.videoAll
const commentInstance = res.locals.videoCommentFull
const accountInstance = res.locals.account