fix: remove withValidSchedule from get/patch/delete shared endpoint
parent
df43d50a55
commit
b38f78bbad
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue