fix: remove comments
This commit is contained in:
1 parent
43b94d3e96
commit
3fc22a8eff
1 file changed
+1
-1
@@ -26,7 +26,6 @@ const schemaWebhookBaseBodyParams = Webhook.pick({
|
|||||||
|
|
||||||
export const schemaWebhookCreateParams = z
|
export const schemaWebhookCreateParams = z
|
||||||
.object({
|
.object({
|
||||||
// id: z.string(),
|
|
||||||
subscriberUrl: z.string().url(),
|
subscriberUrl: z.string().url(),
|
||||||
eventTriggers: z.enum(WEBHOOK_TRIGGER_EVENTS).array(),
|
eventTriggers: z.enum(WEBHOOK_TRIGGER_EVENTS).array(),
|
||||||
active: z.boolean(),
|
active: z.boolean(),
|
||||||
@@ -52,6 +51,7 @@ export const schemaWebhookReadPublic = Webhook.pick({
|
|||||||
eventTypeId: true,
|
eventTypeId: true,
|
||||||
payloadTemplate: true,
|
payloadTemplate: true,
|
||||||
eventTriggers: true,
|
eventTriggers: true,
|
||||||
|
/** @todo: find out how to properly add back and validate those. */
|
||||||
// eventType: true,
|
// eventType: true,
|
||||||
// app: true,
|
// app: true,
|
||||||
appId: true,
|
appId: true,
|
||||||
|
|||||||
Reference in new issue
Block a user