amancevice/slackend

View on GitHub

Showing 1 of 1 total issue

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