modules/linagora.esn.contact/backend/lib/domain-members/synchronize.js
Function exports
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
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
Open
function synchronize(domainId) {
const syncTime = Date.now();
return Promise.all([
_getTechnicalUserAndToken(domainId),