Skip to content

Commit 4416390

Browse files
committed
Revert "remove nullish from custom header validation"
This reverts commit ecce740.
1 parent ecce740 commit 4416390

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

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

0 commit comments

Comments
 (0)