gadael/gadael

View on GitHub
api/Right.api.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createRight has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

api.createRight = function(app, props) {
    let rightModel = app.db.models.Right;
    let right = new rightModel();

    if (undefined !== props) {
Severity: Minor
Found in api/Right.api.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status