fixed typo

pull/9078/head
Syed Ali Shahbaz 2022-10-07 13:34:02 +05:30 committed by GitHub
parent 9a65c547dc
commit 8eaad0c1c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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