Skip to content

Scheduling infrastructure for absolutely everyone.

Fixes another typo

Syed Ali Shahbazb05b6e48e785
diff --git a/pages/api/schedules/[id].ts b/pages/api/schedules/[id].ts
index 384e1f37c34..31182fabda0 100644
--- a/pages/api/schedules/[id].ts
+++ b/pages/api/schedules/[id].ts
@@ -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;