fixed typo
parent
9a65c547dc
commit
8eaad0c1c6
|
@ -18,7 +18,7 @@ export async function scheduleById(
|
|||
res.status(400).json({ message: body.message });
|
||||
}
|
||||
|
||||
const safe = schemaScheduleBodyParams.safeParse(body);
|
||||
const safe = schemaSingleScheduleBodyParams.safeParse(body);
|
||||
if (!safeBody.success) {
|
||||
res.status(400).json({ message: "Bad request" });
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue