linagora/openpaas-esn

View on GitHub
modules/linagora.esn.contact/backend/lib/domain-members/synchronize.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function exports has 97 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = dependencies => {
  const coreUserModule = dependencies('user');
  const esnConfig = dependencies('esn-config');
  const logger = dependencies('logger');
  const client = require('../client')(dependencies);

    Function synchronize has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function synchronize(domainId) {
        const syncTime = Date.now();
    
        return Promise.all([
          _getTechnicalUserAndToken(domainId),

      There are no issues that match your filters.

      Category
      Status