notduncansmith/summit

View on GitHub
lib/middleware/attachments_middleware.js

Summary

Maintainability
A
1 hr
Test Coverage

Function attachments has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function attachments (app) {
  var router = app.router(false);

  router.get('/attachment/:docId/:attId', function (req) {
    var att;
Severity: Minor
Found in lib/middleware/attachments_middleware.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status