perspective/perspective

View on GitHub
lib/server/users.js

Summary

Maintainability
A
1 hr
Test Coverage

Function onRouterInit has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  onRouterInit: function(router) {
    var repo = this;

    router.get('/api/users', function *(next) {
      var result = yield repo.eventsRepo.getUsers();
Severity: Minor
Found in lib/server/users.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status