saraileon/mexico-zipcodes

View on GitHub
controllers/app.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handler has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  handler: function(req, res) {
    let   searchType = String(req.params.type);
    const searchStr  = String(req.params.search);
    let page         = req.query.page;
    let limit        = req.query.limit;
Severity: Minor
Found in controllers/app.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status