RocketChat/Rocket.Chat

View on GitHub
apps/meteor/server/methods/ignoreUser.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function ignoreUser has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async ignoreUser({ rid, userId: ignoredUser, ignore = true }) {
        check(ignoredUser, String);
        check(rid, String);
        check(ignore, Boolean);

Severity: Minor
Found in apps/meteor/server/methods/ignoreUser.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status