Skip to content

Commit

Permalink
Update LancamentosService.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfariakof committed Apr 27, 2024
1 parent b171bde commit 75e5cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/services/api/LancamentosService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const getByMesAnoByIdUsuario = async (mesAno: Dayjs): Promise<any> => {
const getSaldoByIdUsuario = async (): Promise<any | 0> => {
try {
const { data } = await Api.get('/Saldo');
return data;
return data.saldo;
}
catch (error) {
console.log(error);
Expand Down

0 comments on commit 75e5cd8

Please sign in to comment.