appirio-tech/lc1-discussion-service

View on GitHub
lib/tc-auth/tcUser.js

Summary

Maintainability
A
1 hr
Test Coverage

Function tcUser has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.tcUser = function(req, res, next) {
  if (req.user) {
    var options = {
      url: config.get('app.tcUser') + '/user',
      headers: {
Severity: Minor
Found in lib/tc-auth/tcUser.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status