Se corrigio cuestionario alumno
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user