amancevice/slackend

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function handleOAuth has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function handleOAuth(options = {}, version = null) {
  return (req, res, next) => {
    // Handle denials
    if (req.query.error) {
      logger.error(req.query.error);
Severity: Minor
Found in index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status