From a774c762d0afa0bb1790291a9c6a424b63f39834 Mon Sep 17 00:00:00 2001 From: Mike Sears Date: Thu, 5 Sep 2024 13:30:13 -0700 Subject: [PATCH] fix: code-smell clean up --- backend/src/case_file/case_file.service.ts | 2 +- .../src/code-tables/rationale_code/rationale_code.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/case_file/case_file.service.ts b/backend/src/case_file/case_file.service.ts index f68cc53b..64e1ac53 100644 --- a/backend/src/case_file/case_file.service.ts +++ b/backend/src/case_file/case_file.service.ts @@ -335,7 +335,7 @@ export class CaseFileService { caseFileId, ACTION_TYPE_CODES.COSPRVANDEDU, ); - const test = 0; + let caseFile: CaseFile = { caseIdentifier: caseFileId, leadIdentifier: lead[0].lead_identifier, //this is okay because there will only be one lead for a case... for now. diff --git a/backend/src/code-tables/rationale_code/rationale_code.service.ts b/backend/src/code-tables/rationale_code/rationale_code.service.ts index 7298f30a..aa497975 100644 --- a/backend/src/code-tables/rationale_code/rationale_code.service.ts +++ b/backend/src/code-tables/rationale_code/rationale_code.service.ts @@ -16,7 +16,7 @@ export class RationaleCodeService { active_ind: true, }, }); - console.log("codes"); + return codes.map(({ rationale_code, short_description, long_description, display_order, active_ind }) => ({ rationaleCode: rationale_code, shortDescription: short_description,