Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarion committed Mar 25, 2024
1 parent 2d1bbaa commit da39e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/athletes/results/result.zod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit da39e3d

Please sign in to comment.