mirror of
https://github.com/docmost/docmost.git
synced 2026-05-14 20:54:07 +08:00
fix: increase max length for groups and spaces (#1840)
This commit is contained in:
@@ -11,7 +11,7 @@ import {Transform, TransformFnParams} from "class-transformer";
|
||||
|
||||
export class CreateGroupDto {
|
||||
@MinLength(2)
|
||||
@MaxLength(50)
|
||||
@MaxLength(100)
|
||||
@IsString()
|
||||
@Transform(({ value }: TransformFnParams) => value?.trim())
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user