fix: remove workspace name validation

This commit is contained in:
moonrailgun 2024-09-27 01:54:46 +08:00
parent 9c35bca685
commit 7c271dc3c1

View File

@ -36,11 +36,7 @@ export const workspaceRouter = router({
) )
.input( .input(
z.object({ z.object({
name: z name: z.string().max(60).min(4),
.string()
.max(60)
.min(4)
.regex(slugRegex, { message: 'no a valid name' }),
}) })
) )
.output(userInfoSchema) .output(userInfoSchema)