Skip to content

Commit c8b5229

Browse files
Merge pull request #1953 from Solid-Money/claude/override-mul53-rain-card-ucKAq
Fix getCardBalance to return response data
2 parents 2ed3530 + 5b33890 commit c8b5229

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,8 @@ export const getCardBalance = async (): Promise<CardBalanceResponseDto> => {
816816
});
817817

818818
if (!response.ok) throw response;
819+
820+
return response.json();
819821
};
820822

821823
export const getCashbackPercentage = async (): Promise<{ percentage: number }> => {

0 commit comments

Comments
 (0)