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); }