src/push/provider.ts
Function expoMessageForUser
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function expoMessageForUser(
user: User & Document
): Promise<UserExpoMessage> {
try {
// Find the PM2.5 value at the user's last known station (universalId)