From 628306793d42d885ba7a37347d6cad6a40a2633f Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Fri, 7 Oct 2022 13:47:46 +0530 Subject: [PATCH] Prettier fix :/ --- pages/api/schedules/[id].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/schedules/[id].ts b/pages/api/schedules/[id].ts index 31182fabda..59c78ea12b 100644 --- a/pages/api/schedules/[id].ts +++ b/pages/api/schedules/[id].ts @@ -23,7 +23,7 @@ export async function scheduleById( res.status(400).json({ message: "Bad request" }); return; } - + const safeQuery = schemaQueryIdParseInt.safeParse(query); if (safeBody.data.userId && !isAdmin) { res.status(401).json({ message: "Unauthorized" });