Fixes another typo
This commit is contained in:
@@ -18,7 +18,7 @@ export async function scheduleById(
|
||||
res.status(400).json({ message: body.message });
|
||||
}
|
||||
|
||||
const safe = schemaSingleScheduleBodyParams.safeParse(body);
|
||||
const safeBody = schemaSingleScheduleBodyParams.safeParse(body);
|
||||
if (!safeBody.success) {
|
||||
res.status(400).json({ message: "Bad request" });
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user