fixed typo
This commit is contained in:
1 parent
9a65c547dc
commit
8eaad0c1c6
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user