Scheduling infrastructure for absolutely everyone.
fix: clearer note about dropping metadata and locations in event-type
Agusti Fernandez Pardo9cb2f9bc704a
diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.tsindex ab24a9b0d18..119edcb2484 100644--- a/lib/validations/event-type.ts+++ b/lib/validations/event-type.ts@@ -12,7 +12,7 @@ const schemaEventTypeRequiredParams = z.object({});export const schemaEventTypeBodyParams = schemaEventTypeBaseBodyParams.merge(schemaEventTypeRequiredParams);-// Omitting those two (locations/ metadata) because the validations where choking at array and JSON object. add them later if needed+// @NOTE: Removing locations and metadata properties before validation, add them later if requiredexport const schemaEventTypePublic = EventType.omit({ locations: true, metadata: true });export const withValidEventType = withValidation({