mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
refactor(nestjs): hook up the client with new endpoints
This commit is contained in:
@@ -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 },
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user