modified newSaldo

This commit is contained in:
2025-10-29 08:16:36 -06:00
parent aae6cb8704
commit 3a3e145642
2 changed files with 10 additions and 1 deletions
@@ -112,6 +112,10 @@ export class PersonaService {
select: { cantidadCuenta: true },
});
if (!persona) {
throw new NotFoundException('user not found');
}
return persona?.cantidadCuenta;
}