falta un update

This commit is contained in:
xXpuma99Xx
2022-10-16 11:53:07 -05:00
parent fccc5f11c5
commit 4c8da74726
9 changed files with 209 additions and 91 deletions
+5 -4
View File
@@ -93,7 +93,7 @@ export class MultaService {
return this.repository.save(this.repository.create(data));
})
.then((_) =>
this.institucionUsuarioService.findAllByIdUsuario(
this.institucionUsuarioService.findInfoInstitucionUsuarioAllByIdUsuario(
prestamo.usuario.id_usuario,
),
)
@@ -265,9 +265,10 @@ export class MultaService {
}
async quitarMulta(id_institucion_usuario: number) {
const institucionUsuario = await this.institucionUsuarioService.findById(
id_institucion_usuario,
);
const institucionUsuario =
await this.institucionUsuarioService.findInfoInstitucionUsuarioById(
id_institucion_usuario,
);
return this.repository
.createQueryBuilder('mu')