RHeactorJS/server

View on GitHub
src/api/route/registration.js

Summary

Maintainability
A
1 hr
Test Coverage

Function default has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (app, config, emitter, userRepository, sendHttpProblem) {
  /**
   * Register a new account, needs to be activated afterwards
   */
  app.post('/api/registration', (req, res) => Promise
Severity: Minor
Found in src/api/route/registration.js - About 1 hr to fix

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

    export default function (app, config, emitter, userRepository, sendHttpProblem) {
    Severity: Minor
    Found in src/api/route/registration.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status