Prettier fix :/

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2022-10-07 13:47:46 +05:30
1 parent b05b6e48e7
commit 628306793d
1 file changed
+1 -1
+1 -1
View File
@@ -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" });