shootismoke/backend

View on GitHub
src/push/provider.ts

Summary

Maintainability
A
1 hr
Test Coverage
C
78%

Function expoMessageForUser has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function expoMessageForUser(
    user: User & Document
): Promise<UserExpoMessage> {
    try {
        // Find the PM2.5 value at the user's last known station (universalId)
Severity: Minor
Found in src/push/provider.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status