refactor(nestjs): hook up the client with new endpoints

This commit is contained in:
Ahmed Bouhuolia
2025-05-14 21:45:13 +02:00
parent aef208b9d8
commit ecb80b2cf2
25 changed files with 267 additions and 166 deletions

View File

@@ -201,7 +201,7 @@ export function useBankRules(
return useQuery<BankRulesResponse, Error>(
[BANK_QUERY_KEY.BANK_RULES],
() => apiRequest.get('/banking/rules').then((res) => res.data.bank_rules),
() => apiRequest.get('/banking/rules').then((res) => res.data),
{ ...options },
);
}