fix: remove withValidSchedule from get/patch/delete shared endpoint

pull/9078/head
Agusti Fernandez Pardo 2022-04-24 23:57:17 +02:00
parent df43d50a55
commit b38f78bbad
1 changed files with 1 additions and 1 deletions

View File

@ -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);