more debug

pull/9078/head
Syed Ali Shahbaz 2022-05-26 12:03:14 +05:30 committed by Agusti Fernandez Pardo
parent 7c6141fdff
commit fbe3d2fd10
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@ const schemaWebhookBaseBodyParams = Webhook.pick({
export const schemaWebhookCreateParams = z
.object({
subscriberUrl: z.string().url(),
eventTriggers: z.any(),
eventTriggers: z.string().array(),
active: z.boolean(),
payloadTemplate: z.string().nullable(),
payloadTemplate: z.string().optional().nullable(),
eventTypeId: z.number().optional(),
appId: z.string().optional().nullable(),
})