fix: hooks, event-types and booking references
This commit is contained in:
1 parent
f2ce2f324b
commit
dc967b7d9e
4 files changed
+25
-48
No files matched your search
@@ -87,4 +87,10 @@ export const schemaEventTypeReadPublic = EventType.pick({
|
||||
description: true,
|
||||
locations: true,
|
||||
metadata: true,
|
||||
});
|
||||
}).merge(
|
||||
z.object({
|
||||
recurringEvent: jsonSchema.nullable(),
|
||||
locations: z.array(jsonSchema).nullable(),
|
||||
metadata: jsonSchema.nullable(),
|
||||
})
|
||||
);
|
||||
@@ -37,7 +37,8 @@ export const schemaWebhookReadPublic = Webhook.pick({
|
||||
eventTypeId: true,
|
||||
payloadTemplate: true,
|
||||
eventTriggers: true,
|
||||
eventType: true,
|
||||
app: true,
|
||||
/** @todo: find out why this breaks the api */
|
||||
// eventType: true,
|
||||
// app: true,
|
||||
appId: true,
|
||||
});
|
||||
Reference in new issue
Block a user