Skip to content

Commit

Permalink
fix(human-app/fronted/worker): change respons validation
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperKoza343 authored and mpblocky committed Nov 5, 2024
1 parent a301545 commit 8287e0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const myJobSchema = z.object({
z.literal('CANCELED'),
z.literal('COMPLETED'),
])
.parse(value);
.parse(value.toUpperCase());
} catch (error) {
return 'UNKNOWN';
}
Expand Down

0 comments on commit 8287e0d

Please sign in to comment.