This commit is contained in:
2025-09-17 14:35:12 -06:00
parent 0273204d37
commit d49cfb56e8
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -20,3 +20,5 @@ export class CreateStudentDto {
@IsString()
correo: string;
}
//Hubo pedos con la base , revisar
+1
View File
@@ -13,6 +13,7 @@ export class StudentService {
) {}
async create(createStudentDto: CreateStudentDto): Promise<Student> {
//Hubo pedos con la base , revisar
const student = this.studentRepository.create(createStudentDto);
return await this.studentRepository.save(student);
}