Skip to content

Commit

Permalink
Rename 'pledge' shortcut to match database value
Browse files Browse the repository at this point in the history
  • Loading branch information
manelcecs committed Apr 8, 2024
1 parent 1a0323c commit bdec179
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/domain-services/flows/flow-search-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class FlowSearchService {
pending: isPendingFlows,
commitment: isCommitmentFlows,
paid: isPaidFlows,
pledged: isPledgedFlows,
pledge: isPledgedFlows,
carryover: isCarryoverFlows,
parked: isParkedFlows,
pass_through: isPassThroughFlows,
Expand Down Expand Up @@ -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' },
Expand Down Expand Up @@ -597,7 +597,7 @@ export class FlowSearchService {
pending: isPendingFlows,
commitment: isCommitmentFlows,
paid: isPaidFlows,
pledged: isPledgedFlows,
pledge: isPledgedFlows,
carryover: isCarryoverFlows,
parked: isParkedFlows,
pass_through: isPassThroughFlows,
Expand Down
4 changes: 2 additions & 2 deletions src/domain-services/flows/graphql/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class SearchFlowsArgs extends PaginationArgs<FlowSortField> {
paid: boolean;

@Field(() => Boolean, { nullable: true })
pledged: boolean;
pledge: boolean;

@Field(() => Boolean, { nullable: true })
carryover: boolean;
Expand Down Expand Up @@ -140,7 +140,7 @@ export class SearchFlowsArgsNonPaginated {
paid: boolean;

@Field(() => Boolean, { nullable: true })
pledged: boolean;
pledge: boolean;

@Field(() => Boolean, { nullable: true })
carryover: boolean;
Expand Down

0 comments on commit bdec179

Please sign in to comment.