RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/lib/wrapRequestCredentialFn.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function wrapRequestCredentialFn has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function wrapRequestCredentialFn<T extends Partial<OAuthConfiguration>>(
    serviceName: string,
    fn: (params: RequestCredentialConfig<T>) => void,
) {
    const wrapped = async (
Severity: Minor
Found in apps/meteor/client/lib/wrapRequestCredentialFn.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status