forked from Yara724/api
YARA-1117 and fixed completed status after in person visit has been called
This commit is contained in:
@@ -3530,6 +3530,7 @@ export class ExpertClaimService {
|
||||
|
||||
await this.claimCaseDbService.findByIdAndUpdate(claimRequestId, {
|
||||
claimStatus: ClaimStatus.NEEDS_REVISION,
|
||||
status: ClaimCaseStatus.COMPLETED,
|
||||
"workflow.locked": false,
|
||||
$unset: {
|
||||
"workflow.lockedAt": "",
|
||||
@@ -3567,7 +3568,7 @@ export class ExpertClaimService {
|
||||
|
||||
return {
|
||||
claimRequestId,
|
||||
status: ClaimWorkflowStep.CLAIM_COMPLETED,
|
||||
status: ClaimCaseStatus.COMPLETED,
|
||||
claimStatus: ClaimStatus.NEEDS_REVISION,
|
||||
message: "In-person visit requested. User will be notified.",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user