From da39e3def3c814daf5a667f576670514ddcb702d Mon Sep 17 00:00:00 2001 From: Niklas Marion Date: Mon, 25 Mar 2024 22:06:06 +0100 Subject: [PATCH] fix --- src/athletes/results/result.zod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/athletes/results/result.zod.ts b/src/athletes/results/result.zod.ts index b99a3df..e95151a 100644 --- a/src/athletes/results/result.zod.ts +++ b/src/athletes/results/result.zod.ts @@ -18,7 +18,7 @@ export const ResultsByEvent = z.object({ venue: z.string(), wind: z .preprocess((val) => { - if (val === 'NWI') { + if (isNaN(Number(val))) { return null; } try {