Skip to content

Commit

Permalink
Temp rem
Browse files Browse the repository at this point in the history
  • Loading branch information
manelcecs committed Dec 26, 2023
1 parent 3881fdb commit 9eda568
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/domain-services/flows/graphql/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/flow-search-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9eda568

Please sign in to comment.