holidayextras/jsonapi-server

View on GitHub
lib/routes/search.js

Summary

Maintainability
A
1 hr
Test Coverage

Function register has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

searchRoute.register = () => {
  router.bindRoute({
    verb: 'get',
    path: ':type'
  }, (request, resourceConfig, res) => {
Severity: Minor
Found in lib/routes/search.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status