Reverts oopsie

pull/9078/head
zomars 2023-03-10 12:01:46 -07:00
parent 4e24b6f7c0
commit 464c283e0c
1 changed files with 0 additions and 6 deletions

View File

@ -47,12 +47,6 @@ import { schemaCreateScheduleBodyParams, schemaSchedulePublic } from "~/lib/vali
* 401: * 401:
* description: Authorization information is missing or invalid. * description: Authorization information is missing or invalid.
*/ */
eventType EventType[]
name String
timeZone String?
availability Availability[]
async function postHandler(req: NextApiRequest) { async function postHandler(req: NextApiRequest) {
const { userId, isAdmin, prisma } = req; const { userId, isAdmin, prisma } = req;
const body = schemaCreateScheduleBodyParams.parse(req.body); const body = schemaCreateScheduleBodyParams.parse(req.body);