RocketChat/Rocket.Chat

View on GitHub
apps/meteor/server/database/convertChangeStreamPayload.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function convertChangeStreamPayload has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function convertChangeStreamPayload(
    event:
        | ChangeStreamInsertDocument<IRocketChatRecord>
        | ChangeStreamUpdateDocument<IRocketChatRecord>
        | ChangeStreamDeleteDocument<IRocketChatRecord>,
Severity: Minor
Found in apps/meteor/server/database/convertChangeStreamPayload.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status