From b789bc4065adb698fbdfc6b3b998307fa14b18c5 Mon Sep 17 00:00:00 2001 From: IO <320154041@pcpuma.acatlan.unam.mx> Date: Fri, 21 Jun 2024 14:51:32 -0600 Subject: [PATCH] add nombre --- src/auth/dto/registerDto.dto.ts | 4 ++++ 1 file changed, 4 insertions(+) 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;