Nanocloud/nanocloud

View on GitHub
api/controllers/UserController.js

Summary

Maintainability
A
1 hr
Test Coverage

Function update has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  update: function(req, res) {

    req.body = JsonApiService.deserialize(req.body);
    User.findOne(req.allParams().id)
      .then((currentUser) => {
Severity: Minor
Found in api/controllers/UserController.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status