Reverts oopsie
parent
4e24b6f7c0
commit
464c283e0c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue