Skip to content

Commit ecce740

Browse files
committed
remove nullish from custom header validation
1 parent 4cd3d39 commit ecce740

File tree

1 file changed

+1
-2
lines changed
  • packages/backend/src/apps/custom-api/actions/http-request

1 file changed

+1
-2
lines changed

packages/backend/src/apps/custom-api/actions/http-request/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,5 @@ export const requestSchema = z.object({
4444
result[key] = sanitizeMarkdown(cleanV)
4545
}
4646
return result
47-
})
48-
.nullish(),
47+
}),
4948
})

0 commit comments

Comments
 (0)