adesege/express-api-versioning

View on GitHub

Showing 2 of 2 total issues

Avoid too many return statements within this function.
Open

    return callback({
      code: 104,
      message: 'No version number found'
    }, httpRequest, httpResponse, next);
Severity: Major
Found in src/index.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return callback({
            code: 103,
            message: 'Entry point not Found'
          }, httpRequest, httpResponse, next); // we can't find the entry point, throw an error
    Severity: Major
    Found in src/index.js - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language