wbyoung/admit-one-bookshelf

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(options) {
  var User = options.bookshelf.modelClass;
  var relation = new User().tokens();
  var relatedData = relation.relatedData;
  var Token = relatedData.target;
Severity: Minor
Found in index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status