Scheduling infrastructure for absolutely everyone.
Reverts oopsie
zomars464c283e0c2b
diff --git a/pages/api/schedules/_post.ts b/pages/api/schedules/_post.tsindex 892d5c0cef2..03c1fb0b6e2 100644--- a/pages/api/schedules/_post.ts+++ b/pages/api/schedules/_post.ts@@ -47,12 +47,6 @@ import { schemaCreateScheduleBodyParams, schemaSchedulePublic } from "~/lib/vali* 401:* description: Authorization information is missing or invalid.*/---eventType EventType[]-name String-timeZone String?-availability Availability[]async function postHandler(req: NextApiRequest) {const { userId, isAdmin, prisma } = req;const body = schemaCreateScheduleBodyParams.parse(req.body);