Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: QuickClose CE-1263 #766

Merged
merged 16 commits into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions backend/src/v1/case_file/case_file.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class CaseFileService {
// If the assessment being updated has no action required or the justification is not duplicate, then check if there
// was previously a link to another complaint. If there is, remove it.
if (
modelAsAny.updateAssessmentInput.assessmentDetails.actionNotRequired ||
!modelAsAny.updateAssessmentInput.assessmentDetails.actionNotRequired ||
(modelAsAny.updateAssessmentInput.assessmentDetails.actionJustificationCode &&
modelAsAny.updateAssessmentInput.assessmentDetails.actionJustificationCode !== "DUPLICATE")
) {
Expand All @@ -254,7 +254,6 @@ export class CaseFileService {
await this._linkedComplaintXrefRepository.save(existingLink);
}
}

// If changes need to be made in both databases (i.e. we need to create a link or change the status of a complaint)
// then the transactional approach is taken.
if (
Expand Down
Loading