Adds custom inputs to eventTypes responses

This commit is contained in:
zomars committed 2022-10-14 15:52:09 -06:00
1 parent 11ffdccb4a
commit 25d3d12319
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
import { z } from "zod";
import { _EventTypeModel as EventType } from "@calcom/prisma/zod";
import { _EventTypeCustomInputModel, _EventTypeModel as EventType } from "@calcom/prisma/zod";
import { Frequency } from "@lib/types";
@@ -116,5 +116,6 @@ export const schemaEventTypeReadPublic = EventType.pick({
)
.nullable(),
metadata: jsonSchema.nullable(),
customInputs: _EventTypeCustomInputModel.array().optional(),
})
);