Skip to content

Commit

Permalink
Temp: merge w 0d3b751
Browse files Browse the repository at this point in the history
  • Loading branch information
manelcecs committed Dec 5, 2023
1 parent d2600f5 commit a914675
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/domain-services/flows/graphql/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export class SearchFlowsFilters {
@Field({ nullable: true })
amountUSD: number;

@Field({ nullable: true })
reporterRefCode: number;
@Field({ name: 'reporterRefCode', nullable: true })
reporterReferenceCode: number;

@Field({ nullable: true })
sourceSystemID: number;
@Field({ name: 'sourceSystemID', nullable: true })
sourceSystemId: number;

@Field({ nullable: true })
legacyID: number;
@Field({ name: 'legacyID', nullable: true })
legacyId: number;
}

@InputType()
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/flow-search-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ describe('FlowSearchService', () => {
flowFilters.status = 'commitment';
flowFilters.type = 'carryover';
flowFilters.amountUSD = 1000;
flowFilters.reporterRefCode = 123;
flowFilters.sourceSystemID = 456;
flowFilters.legacyID = 789;
flowFilters.reporterReferenceCode = 123;
flowFilters.sourceSystemId = 456;
flowFilters.legacyId = 789;

const result = flowSearchService.prepareFlowConditions(flowFilters);

Expand Down

0 comments on commit a914675

Please sign in to comment.