feat: adds automatic generation of uuid id for webhooks create on API
This commit is contained in:
1 parent
7f42cc8479
commit
43b94d3e96
5 files changed
+7
-6
No files matched your search
@@ -26,7 +26,7 @@ const schemaWebhookBaseBodyParams = Webhook.pick({
|
||||
|
||||
export const schemaWebhookCreateParams = z
|
||||
.object({
|
||||
id: z.string(),
|
||||
// id: z.string(),
|
||||
subscriberUrl: z.string().url(),
|
||||
eventTriggers: z.enum(WEBHOOK_TRIGGER_EVENTS).array(),
|
||||
active: z.boolean(),
|
||||
|
||||
Reference in new issue
Block a user