ctrl-alt-del-world/midway

View on GitHub
web/src/lambda/orders.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function handler has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const handler = async (event: APIGatewayEvent): Promise<any> => {
  if (event.httpMethod !== 'POST' || !event.body) return statusReturn(400, '')
  let data: {
    token: string
  }
Severity: Minor
Found in web/src/lambda/orders.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status