fix: remove workspace name validation
This commit is contained in:
parent
9c35bca685
commit
7c271dc3c1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user