Se corrigio cuestionario alumno

This commit is contained in:
evenegas
2026-01-15 10:51:29 -06:00
parent c9cd073101
commit 8762b51240
+2 -2
View File
@@ -26,7 +26,7 @@ export class ProgramaService {
private validacionService: ValidacionService,
private authService: AuthService,
private gmail: gmail,
) {}
) { }
async cargaMasiva(nombreArchivo: string): Promise<{ message: string }> {
const filePath = path.join('server/uploads', nombreArchivo);
@@ -248,7 +248,7 @@ export class ProgramaService {
let usuarioNuevo = await this.usuarioRepo.findOne({
where: { idUsuario: idusuario },
relations: ["tipoUsuario"],
relations: ["tipoUsuario"],
});
if (!usuarioNuevo) throw new Error('No existe este usuario.');