Scheduling infrastructure for absolutely everyone.
fix: remove withValidSchedule from get/patch/delete shared endpoint
Agusti Fernandez Pardob38f78bbad73
diff --git a/pages/api/schedules/index.ts b/pages/api/schedules/index.tsindex bbdd1c8dbcf..bd9a38a9efc 100644--- a/pages/api/schedules/index.ts+++ b/pages/api/schedules/index.ts@@ -70,4 +70,4 @@ async function createOrlistAllSchedules(} else res.status(405).json({ message: `Method ${method} not allowed` });}-export default withMiddleware("HTTP_GET_OR_POST")(withValidSchedule(createOrlistAllSchedules));+export default withMiddleware("HTTP_GET_OR_POST")(createOrlistAllSchedules);