mongaku/mongaku

View on GitHub
src/server/routes.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(app: express$Application) {
    const {auth} = require("../logic/shared/auth");

    if (options.authRequired) {
        app.use((req: express$Request, res, next) => {
Severity: Minor
Found in src/server/routes.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status