fix: pass chatbot attachments to Selenium claim worker and add missing re import
- Add `import re` to all Selenium workers that use re.search() for claim number extraction - Pass uploadedFiles to onHandleForMHSeleniumClaim so attachments reach the MH website - Save chatbot pending files in check-and-claim and batch-check-and-claim flows Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -996,6 +996,7 @@ export function ClaimForm({
|
||||
appointmentId: appointmentIdToUse,
|
||||
insuranceSiteKey: "MH",
|
||||
claimId: createdClaim.id,
|
||||
uploadedFiles,
|
||||
});
|
||||
|
||||
// 5. Close form
|
||||
|
||||
@@ -455,6 +455,7 @@ export function ChatbotButton() {
|
||||
renderingProvider: checkAndClaimData.renderingProvider ?? null,
|
||||
})
|
||||
);
|
||||
setChatbotPendingFiles(pendingFiles);
|
||||
prefillAndNavigate(checkAndClaimData.memberId, checkAndClaimData.dob, checkAndClaimData.autoCheck);
|
||||
};
|
||||
|
||||
@@ -1113,6 +1114,7 @@ export function ChatbotButton() {
|
||||
serviceDate: null,
|
||||
renderingProvider,
|
||||
}));
|
||||
setChatbotPendingFiles(pendingFiles);
|
||||
prefillAndNavigate(first!.memberId, first!.dob, first!.autoCheck);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user