diff --git a/src/auth/dto/registerDto.dto.ts b/src/auth/dto/registerDto.dto.ts index 597b033..9f7dbb2 100644 --- a/src/auth/dto/registerDto.dto.ts +++ b/src/auth/dto/registerDto.dto.ts @@ -6,6 +6,10 @@ export class registerDto{ @IsNotEmpty() usuario: string; + @IsString() + @IsNotEmpty() + nombre: string; + @IsString() @IsNotEmpty() contraseƱa: string;