pinclub/pinclub

View on GitHub
api/v1/message.js

Summary

Maintainability
A
1 hr
Test Coverage

Function index has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var index = function (req, res, next) {
    var user_id = req.user._id;
    var mdrender = req.query.mdrender === 'false' ? false : true;
    var ep = new EventProxy();
    ep.fail(next);
Severity: Minor
Found in api/v1/message.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status