BerniWittmann/spielplanismaning

View on GitHub
src/routes/users.js

Summary

Maintainability
C
1 day
Test Coverage

Function exports has 230 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (sendgrid, env, url, disableEmails, secret) {
    const logger = require('winston').loggers.get('apiUsers');
    const express = require('express');
    const router = express.Router();

Severity: Major
Found in src/routes/users.js - About 1 day to fix

    Function exports has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    module.exports = function (sendgrid, env, url, disableEmails, secret) {
    Severity: Minor
    Found in src/routes/users.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status