spherehq/sphere

View on GitHub
packages/api/src/modules/account/resolvers/Mutation/VerifySphere.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Function VerifySphereResolver has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const VerifySphereResolver = async (
_,
args: { input: VerifySphereInput },
context: ServerContext,
) => {
Severity: Minor
Found in packages/api/src/modules/account/resolvers/Mutation/VerifySphere.ts - About 1 hr to fix

    Function VerifySphereResolver has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
    Open

    export const VerifySphereResolver = async (
    _,
    args: { input: VerifySphereInput },
    context: ServerContext,
    ) => {
    Severity: Minor
    Found in packages/api/src/modules/account/resolvers/Mutation/VerifySphere.ts - About 55 mins to fix

    There are no issues that match your filters.

    Category
    Status