Prettier fix :/
This commit is contained in:
1 parent
b05b6e48e7
commit
628306793d
1 file changed
+1
-1
@@ -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" });
|
||||
|
||||
Reference in new issue
Block a user