apps/meteor/server/database/convertChangeStreamPayload.ts
Function convertChangeStreamPayload
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function convertChangeStreamPayload(
event:
| ChangeStreamInsertDocument<IRocketChatRecord>
| ChangeStreamUpdateDocument<IRocketChatRecord>
| ChangeStreamDeleteDocument<IRocketChatRecord>,