diff --git a/src/domain-services/flows/flow-search-service.ts b/src/domain-services/flows/flow-search-service.ts index ca2a459d..e6342972 100644 --- a/src/domain-services/flows/flow-search-service.ts +++ b/src/domain-services/flows/flow-search-service.ts @@ -87,7 +87,7 @@ export class FlowSearchService { pending: isPendingFlows, commitment: isCommitmentFlows, paid: isPaidFlows, - pledged: isPledgedFlows, + pledge: isPledgedFlows, carryover: isCarryoverFlows, parked: isParkedFlows, pass_through: isPassThroughFlows, @@ -317,7 +317,7 @@ export class FlowSearchService { { flag: isPendingFlows, category: 'Pending' }, { flag: isCommitmentFlows, category: 'Commitment' }, { flag: isPaidFlows, category: 'Paid' }, - { flag: isPledgedFlows, category: 'Pledged' }, + { flag: isPledgedFlows, category: 'Pledge' }, { flag: isCarryoverFlows, category: 'Carryover' }, { flag: isParkedFlows, category: 'Parked' }, { flag: isPassThroughFlows, category: 'Pass Through' }, @@ -597,7 +597,7 @@ export class FlowSearchService { pending: isPendingFlows, commitment: isCommitmentFlows, paid: isPaidFlows, - pledged: isPledgedFlows, + pledge: isPledgedFlows, carryover: isCarryoverFlows, parked: isParkedFlows, pass_through: isPassThroughFlows, diff --git a/src/domain-services/flows/graphql/args.ts b/src/domain-services/flows/graphql/args.ts index 9d1fc9ed..2f42e534 100644 --- a/src/domain-services/flows/graphql/args.ts +++ b/src/domain-services/flows/graphql/args.ts @@ -98,7 +98,7 @@ export class SearchFlowsArgs extends PaginationArgs { paid: boolean; @Field(() => Boolean, { nullable: true }) - pledged: boolean; + pledge: boolean; @Field(() => Boolean, { nullable: true }) carryover: boolean; @@ -140,7 +140,7 @@ export class SearchFlowsArgsNonPaginated { paid: boolean; @Field(() => Boolean, { nullable: true }) - pledged: boolean; + pledge: boolean; @Field(() => Boolean, { nullable: true }) carryover: boolean;