diff --git a/src/domain-services/flows/graphql/args.ts b/src/domain-services/flows/graphql/args.ts index 05f5f8ed..404c6339 100644 --- a/src/domain-services/flows/graphql/args.ts +++ b/src/domain-services/flows/graphql/args.ts @@ -10,11 +10,11 @@ export class SearchFlowsFilters { @Field({ nullable: true }) activeStatus: boolean; - @Field({ nullable: true }) - status: 'commitment' | 'paid' | 'pledged'; + // @Field({ nullable: true }) + // status: 'commitment' | 'paid' | 'pledged'; - @Field({ nullable: true }) - type: 'carryover' | 'parked' | 'pass_through' | 'standard'; + // @Field({ nullable: true }) + // type: 'carryover' | 'parked' | 'pass_through' | 'standard'; @Field({ nullable: true }) amountUSD: number; diff --git a/tests/unit/flow-search-service.spec.ts b/tests/unit/flow-search-service.spec.ts index a12e1fa6..da7104cd 100644 --- a/tests/unit/flow-search-service.spec.ts +++ b/tests/unit/flow-search-service.spec.ts @@ -17,8 +17,8 @@ describe('FlowSearchService', () => { const flowFilters = new SearchFlowsFilters(); flowFilters.id = [1]; flowFilters.activeStatus = true; - flowFilters.status = 'commitment'; - flowFilters.type = 'carryover'; + // flowFilters.status = 'commitment'; + // flowFilters.type = 'carryover'; flowFilters.amountUSD = 1000; flowFilters.reporterReferenceCode = 123; flowFilters.sourceSystemId = 456;