modified newSaldo
This commit is contained in:
@@ -112,6 +112,10 @@ export class PersonaService {
|
||||
select: { cantidadCuenta: true },
|
||||
});
|
||||
|
||||
if (!persona) {
|
||||
throw new NotFoundException('user not found');
|
||||
}
|
||||
|
||||
return persona?.cantidadCuenta;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user