Skip to content

Commit

Permalink
feat: Return up to 1000 items from qbo when listing categories
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Feb 24, 2024
1 parent 3ddb7b6 commit bc7c579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verticals/vertical-banking/adapters/qbo-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const qboAdapter = {
listCategories: async ({instance}) => {
const res = await instance.query(
// QBO API does not support OR in SQL query...
"SELECT * FROM Account WHERE Classification IN ('Revenue', 'Expense')",
"SELECT * FROM Account WHERE Classification IN ('Revenue', 'Expense') MAXRESULTS 1000",
)
return {
hasNextPage: false,
Expand Down

1 comment on commit bc7c579

@vercel
Copy link

@vercel vercel bot commented on bc7c579 Feb 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

venice – ./

venice-git-production-venice.vercel.app
venice-venice.vercel.app
usevenice.vercel.app
app.venice.is

Please sign in to comment.