linagora/openpaas-esn

View on GitHub
backend/core/esn-config/esn-config.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

      if (updatedConfig &&
          data.moduleName === moduleName &&
          (!domainId || data.domainId === domainId) &&
          (!userId || data.userId === userId)) {
        listener(updatedConfig);
Severity: Major
Found in backend/core/esn-config/esn-config.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status