mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-12 19:03:42 -05:00
fix: omit projectId from webhook update API schema
The ZWebhookUpdateSchema derived from ZWebhook via .omit() did not exclude projectId, making it a required field in the update payload. This caused the webhook update E2E test to fail since it doesn't send projectId. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,7 @@ export const ZWebhookUpdateSchema = ZWebhook.omit({
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
environmentId: true,
|
||||
projectId: true,
|
||||
secret: true,
|
||||
}).meta({
|
||||
id: "webhookUpdate",
|
||||
|
||||
Reference in New Issue
Block a user