Skip to content

Commit

Permalink
Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Soviut authored Nov 29, 2024
1 parent 46bfb65 commit 234ef97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/validator/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ export const validator = <
switch (target) {
case 'json':
if (!contentType || !jsonRegex.test(contentType)) {
console.warn('Validator target is "json" but request is missing a Content-Type header containing "application/json"')
console.warn(
'Validator target is "json" but request is missing a Content-Type header containing "application/json"'
)
break
}
try {
Expand Down

0 comments on commit 234ef97

Please sign in to comment.