From d49cfb56e8c6afa0f85f8cca9c9c9be0dec514fa Mon Sep 17 00:00:00 2001 From: tyrannusss Date: Wed, 17 Sep 2025 14:35:12 -0600 Subject: [PATCH] 1 --- src/alumno/dto/create-student.dto.ts | 2 ++ src/alumno/student.service.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/alumno/dto/create-student.dto.ts b/src/alumno/dto/create-student.dto.ts index 130445e..8aae090 100644 --- a/src/alumno/dto/create-student.dto.ts +++ b/src/alumno/dto/create-student.dto.ts @@ -20,3 +20,5 @@ export class CreateStudentDto { @IsString() correo: string; } + +//Hubo pedos con la base , revisar diff --git a/src/alumno/student.service.ts b/src/alumno/student.service.ts index d14dc03..cf5dc91 100644 --- a/src/alumno/student.service.ts +++ b/src/alumno/student.service.ts @@ -13,6 +13,7 @@ export class StudentService { ) {} async create(createStudentDto: CreateStudentDto): Promise { + //Hubo pedos con la base , revisar const student = this.studentRepository.create(createStudentDto); return await this.studentRepository.save(student); }