More debug

pull/9078/head
Syed Ali Shahbaz 2022-05-26 12:06:15 +05:30 committed by GitHub
parent d372c4c526
commit 92b011214c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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