fix: remove comments

This commit is contained in:
Agusti Fernandez Pardo
2022-06-01 17:08:01 +02:00
parent 43b94d3e96
commit 3fc22a8eff
+1 -1
View File
@@ -26,7 +26,6 @@ const schemaWebhookBaseBodyParams = Webhook.pick({
export const schemaWebhookCreateParams = z
.object({
// id: z.string(),
subscriberUrl: z.string().url(),
eventTriggers: z.enum(WEBHOOK_TRIGGER_EVENTS).array(),
active: z.boolean(),
@@ -52,6 +51,7 @@ export const schemaWebhookReadPublic = Webhook.pick({
eventTypeId: true,
payloadTemplate: true,
eventTriggers: true,
/** @todo: find out how to properly add back and validate those. */
// eventType: true,
// app: true,
appId: true,