diff --git a/packages/app/src/cli/models/extensions/specifications/app_config_webhook_subscription.ts b/packages/app/src/cli/models/extensions/specifications/app_config_webhook_subscription.ts index c1cffad42b7..762c33eea86 100644 --- a/packages/app/src/cli/models/extensions/specifications/app_config_webhook_subscription.ts +++ b/packages/app/src/cli/models/extensions/specifications/app_config_webhook_subscription.ts @@ -29,7 +29,7 @@ export const SingleWebhookSubscriptionSchema = zod.object({ include_fields: zod.array(zod.string({invalid_type_error: 'Value must be a string'})).optional(), filter: zod.string({invalid_type_error: 'Value must be a string'}).optional(), payload_query: zod.string({invalid_type_error: 'Value must be a string'}).trim().min(1).optional(), - name: zod.string({invalid_type_error: 'Value must be a string'}).min(1).max(50).optional(), + name: zod.string({invalid_type_error: 'Value must be a string'}).trim().min(1).max(50).optional(), }) /* this transforms webhooks remotely to be accepted by the TOML