more debug

This commit is contained in:
Syed Ali Shahbaz
2022-05-27 20:46:22 +02:00
committed by Agusti Fernandez Pardo
parent 7c6141fdff
commit fbe3d2fd10
+2 -2
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(),
})