mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
refactor(nestjs): plaid banking syncing
This commit is contained in:
@@ -552,7 +552,7 @@ export function useGetRecognizedBankTransaction(
|
||||
() =>
|
||||
apiRequest
|
||||
.get(`/banking/recognized/transactions/${uncategorizedTransactionId}`)
|
||||
.then((res) => transformToCamelCase(res.data?.data)),
|
||||
.then((res) => transformToCamelCase(res.data)),
|
||||
options,
|
||||
);
|
||||
}
|
||||
@@ -580,7 +580,7 @@ export function useGetBankAccountSummaryMeta(
|
||||
() =>
|
||||
apiRequest
|
||||
.get(`/banking/accounts/${bankAccountId}/summary`)
|
||||
.then((res) => transformToCamelCase(res.data?.data)),
|
||||
.then((res) => transformToCamelCase(res.data)),
|
||||
{ ...options },
|
||||
);
|
||||
}
|
||||
@@ -616,7 +616,7 @@ export function useGetAutofillCategorizeTransaction(
|
||||
.get(`/banking/categorize/autofill`, {
|
||||
params: { uncategorizedTransactionIds },
|
||||
})
|
||||
.then((res) => transformToCamelCase(res.data?.data)),
|
||||
.then((res) => transformToCamelCase(res.data)),
|
||||
{ ...options },
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user