Fixed uuid references in schemas.

This commit is contained in:
Mike Cao
2025-09-08 15:28:01 -07:00
parent f40e1b44f3
commit 303947fe9b
16 changed files with 36 additions and 27 deletions

View File

@@ -30,7 +30,7 @@ export async function POST(request: Request) {
name: z.string().max(100),
slug: z.string().max(100),
teamId: z.string().nullable().optional(),
id: z.string().uuid().nullable().optional(),
id: z.uuid().nullable().optional(),
});
const { auth, body, error } = await parseRequest(request, schema);