Skip to content

Commit bb5c84b

Browse files
fix: case manager page screenings key
1 parent 9ce59ed commit bb5c84b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/app-builder/src/models/cases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,6 @@ export function adaptDetailedCaseDecision(dto: DetailedCaseDecisionDto): Detaile
679679
},
680680
score: dto.score,
681681
rules: dto.rules.map((r) => adaptRuleExecutionDto(r, false)),
682-
sanctionChecks: dto.sanction_checks ?? [],
682+
sanctionChecks: dto.screenings ?? [],
683683
};
684684
}

packages/marble-api/openapis/marblecore-api/cases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ components:
10091009
type: array
10101010
items:
10111011
$ref: 'decisions.yml#/components/schemas/RuleExecutionDto'
1012-
sanction_checks:
1012+
screenings:
10131013
type: array
10141014
items:
10151015
type: object

packages/marble-api/src/generated/marblecore-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export type RuleExecutionDto = {
368368
};
369369
export type DetailedCaseDecisionDto = CaseDecisionDto & {
370370
rules: RuleExecutionDto[];
371-
sanction_checks?: {
371+
screenings?: {
372372
id: string;
373373
status: "in_review" | "confirmed_hit";
374374
name: string;

0 commit comments

Comments
 (0)