wbyoung/admit-one-bookshelf

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language