Skip to content

Commit 431e3fc

Browse files
pierre-isabel-bbcmelloware
authored andcommitted
fix: coderabbit suggestions
1 parent 59b4d3f commit 431e3fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/zod/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ const parseBodyAndResponse = ({
14331433
const isMediaType =
14341434
(pattern: string) =>
14351435
([contentType]: [string, object]): boolean =>
1436-
new RegExp(pattern).test(contentType.split(';')[0].trim());
1436+
new RegExp(pattern).test(contentType.split(';')[0].trim().toLowerCase());
14371437

14381438
const getSingleResponse = (
14391439
responses:

0 commit comments

Comments
 (0)