fix: post / patch attendees docs w examples
This commit is contained in:
1 parent
14e2964a6d
commit
e52af0bbef
55 files changed
+246
-233
No files matched your search
@@ -1,13 +1,5 @@
|
||||
import { withValidation } from "next-validations";
|
||||
|
||||
import { _WebhookModel as Webhook } from "@calcom/prisma/zod";
|
||||
|
||||
export const schemaWebhookBodyParams = Webhook.omit({ id: true }).partial();
|
||||
|
||||
export const schemaWebhookPublic = Webhook.omit({});
|
||||
|
||||
export const withValidWebhook = withValidation({
|
||||
schema: schemaWebhookBodyParams,
|
||||
type: "Zod",
|
||||
mode: "body",
|
||||
});
|
||||
Reference in new issue
Block a user