se corrigieron cambios

This commit is contained in:
Emilio-11
2026-02-10 11:56:19 -06:00
parent 1b0ac5828d
commit 9ae678e7f4
+5 -3
View File
@@ -493,7 +493,6 @@ export class ExcelService {
await queryRunner.rollbackTransaction();
throw err;
} finally {
await queryRunner.release();
if (cuentasAReactivar.length > 0) {
await queryRunner.manager.update(
Usuario,
@@ -501,6 +500,7 @@ export class ExcelService {
{ activo: true },
);
}
await queryRunner.release();
}
}
@@ -791,12 +791,14 @@ export class ExcelService {
await queryRunner.rollbackTransaction();
throw err;
} finally {
await queryRunner.release();
await queryRunner.manager.update(
Usuario,
{ idsUsuarios: In(idsUsuarios) },
{ id_usuario: In(idsUsuarios) },
{ activo: true },
);
await queryRunner.release();
await this.usuarioRepo
.createQueryBuilder()
.update()