Nanocloud/nanocloud

View on GitHub
api/controllers/TeamController.js

Summary

Maintainability
A
1 hr
Test Coverage

Function find has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  find(req, res) {
    const user = req.user;

    if (user.isAdmin) {
      return Team.find()
Severity: Minor
Found in api/controllers/TeamController.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status