fix: recurring and metadata as jsonSchema on read too
This commit is contained in:
1 parent
d5ecb383b4
commit
f29124866c
1 file changed
+9
-1
@@ -85,4 +85,12 @@ export const schemaEventTypeReadPublic = EventType.pick({
|
||||
currency: true,
|
||||
slotInterval: true,
|
||||
successRedirectUrl: true,
|
||||
}).partial();
|
||||
description: true,
|
||||
})
|
||||
.merge(
|
||||
z.object({
|
||||
recurringEvent: jsonSchema.nullable(),
|
||||
metadata: jsonSchema.nullable(),
|
||||
})
|
||||
)
|
||||
.strict();
|
||||
Reference in new issue
Block a user