create user dto edited

This commit is contained in:
2025-09-11 19:25:21 +02:00
parent 05c1a61090
commit ab1e5a4121
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export class CreateUserDto {
@IsNotEmpty()
email: string;
@ApiProperty({ minLength: 6 })
@ApiProperty({ minLength: 6, example: 'Mon_motdepasse_fort_1234?' })
@IsString()
@MinLength(6)
password: string;