linagora/openpaas-esn

View on GitHub
modules/linagora.esn.contact/backend/lib/client/group-addressbook-home.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

module.exports = dependencies => {
  return {
    getGroupAddressbookHomes
  };

    Function getGroupAddressbookHomes has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function getGroupAddressbookHomes(user, options) {
        const { davServerUrl, ESNToken } = options;
        const { getDavEndpoint, checkResponse } = require('./utils')(dependencies, { davServerUrl });
    
        return getDavEndpoint(user)

      There are no issues that match your filters.

      Category
      Status