ehlo-io/ehlo

View on GitHub
lib/middleware/api.js

Summary

Maintainability
A
1 hr
Test Coverage

Function api has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function api() {
  return function(mail, smtp, next) {
    logger.verbose(
      '[%s] Send post request to [' + mail.api + ']'
      , smtp.session.id
Severity: Minor
Found in lib/middleware/api.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status