leonitousconforti/tinyburg

View on GitHub
apps/authproxy/src/routes/v1/pre-handler.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function preHandler has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const preHandler = async function (request: Request, reply: Reply): Promise<void> {
    request.log.debug({ req: request }, "preHandler hook fired");

    // Parse query params
    const hash = request.query.hash;
Severity: Minor
Found in apps/authproxy/src/routes/v1/pre-handler.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status