GregBrimble/cf-workers-dashboard

View on GitHub
packages/server/src/pusher/auth.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function handleRequest has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const handleRequest = async (request: Request) => {
  const data = await request.formData();
  const socketID = data.get("socket_id").toString();
  const channelName = data.get("channel_name").toString();

Severity: Minor
Found in packages/server/src/pusher/auth.ts - About 1 hr to fix

    TODO found
    Open

      // TODO: Auth
    Severity: Minor
    Found in packages/server/src/pusher/auth.ts by fixme

    There are no issues that match your filters.

    Category
    Status