Fixed uuid references in schemas.
This commit is contained in:
1 parent
f40e1b44f3
commit
303947fe9b
16 files changed
+36
-27
No files matched your search
@@ -50,7 +50,7 @@ export async function GET(request: Request, { params }: { params: Promise<{ team
|
||||
|
||||
export async function POST(request: Request, { params }: { params: Promise<{ teamId: string }> }) {
|
||||
const schema = z.object({
|
||||
userId: z.string().uuid(),
|
||||
userId: z.uuid(),
|
||||
role: teamRoleParam,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user