This commit is contained in:
Philipinho
2024-05-19 09:06:06 +01:00
parent 9c7c2f1163
commit 6287f41ef6
6 changed files with 22 additions and 20 deletions

View File

@ -10,7 +10,8 @@ export class CreateSpaceDto {
@IsString()
description?: string;
@IsOptional()
@MinLength(4)
@MaxLength(64)
@IsString()
slug?: string;
slug: string;
}