Skip to content

Commit

Permalink
bug(billable-metrics): fix pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol committed Oct 25, 2023
1 parent 0461fc0 commit 9b6c9d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/apolloClient/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const cache = new InMemoryCache({
Query: {
fields: {
billableMetrics: {
keyArgs: false,
merge: mergePaginatedCollection,
},
plans: {
Expand Down
2 changes: 2 additions & 0 deletions src/generated/graphql.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ export enum ChargeModelEnum {

export type ChargeOverridesInput = {
groupProperties?: InputMaybe<Array<GroupPropertiesInput>>;
id: Scalars['ID']['input'];
invoiceDisplayName?: InputMaybe<Scalars['String']['input']>;
minAmountCents?: InputMaybe<Scalars['BigInt']['input']>;
properties?: InputMaybe<PropertiesInput>;
taxCodes?: InputMaybe<Array<Scalars['String']['input']>>;
Expand Down

0 comments on commit 9b6c9d3

Please sign in to comment.