RocketChat/Rocket.Chat

View on GitHub
apps/meteor/ee/app/livechat-enterprise/server/lib/LivechatEnterprise.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function saveUnit has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async saveUnit(
        _id: string | null,
        unitData: Omit<IOmnichannelBusinessUnit, '_id'>,
        unitMonitors: { monitorId: string; username: string },
        unitDepartments: { departmentId: string }[],

    There are no issues that match your filters.

    Category
    Status