fix: build webhooks and event-types

This commit is contained in:
Agusti Fernandez Pardo
2022-05-20 00:58:42 +02:00
parent 2e8f42c5d7
commit f2ce2f324b
6 changed files with 188 additions and 187 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export const schemaWebhookCreateBodyParams = schemaWebhookBaseBodyParams.merge(s
const schemaWebhookEditParams = z
.object({
payloadTemplate: z.string().optional(),
eventTriggers: z.string().optional(),
eventTriggers: z.any(),
subscriberUrl: z.string().optional(),
})
.strict();