fix: rename pre-auth PDF group title from "Claims Preauth" to "Preauth"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ff
2026-06-19 20:24:42 -04:00
parent a52ff2d723
commit 9f0e2514b0
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ async function savePdfFromSelenium(
const resp = await axios.get(localUrl, { responseType: "arraybuffer", timeout: 30000 });
const groupTitleKey = variant === "claim-pre-auth" ? "INSURANCE_CLAIM_PREAUTH" : "INSURANCE_CLAIM";
const groupTitle = variant === "claim-pre-auth" ? "Claims Preauth" : "Claims";
const groupTitle = variant === "claim-pre-auth" ? "Preauth" : "Claims";
let group = await storage.findPdfGroupByPatientTitleKey(patientId, groupTitleKey);
if (!group) {

View File

@@ -339,7 +339,7 @@ router.post(
const GROUP_TITLES: Record<GroupKey, string> = {
INSURANCE_CLAIM: "Claims",
INSURANCE_CLAIM_PREAUTH: "Claims Preauth",
INSURANCE_CLAIM_PREAUTH: "Preauth",
};
const groupTitle = GROUP_TITLES[groupTitleKey];