feat(claim-pre-auth) - fixed route issue
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
|||||||
InputServiceLine,
|
InputServiceLine,
|
||||||
updateClaimSchema,
|
updateClaimSchema,
|
||||||
} from "@repo/db/types";
|
} from "@repo/db/types";
|
||||||
|
import { forwardToSeleniumClaimPreAuthAgent } from "../services/seleniumInsuranceClaimPreAuthClient";
|
||||||
|
|
||||||
const router = Router();
|
const router = Router();
|
||||||
|
|
||||||
@@ -207,7 +208,7 @@ router.post(
|
|||||||
massdhpPassword: credentials.password,
|
massdhpPassword: credentials.password,
|
||||||
};
|
};
|
||||||
|
|
||||||
const result = await forwardToSeleniumClaimAgent(enrichedData, [
|
const result = await forwardToSeleniumClaimPreAuthAgent(enrichedData, [
|
||||||
...pdfs,
|
...pdfs,
|
||||||
...images,
|
...images,
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export interface SeleniumPayload {
|
|||||||
}[];
|
}[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function forwardToSeleniumClaimAgent(
|
export async function forwardToSeleniumClaimPreAuthAgent(
|
||||||
claimData: any,
|
claimData: any,
|
||||||
files: Express.Multer.File[]
|
files: Express.Multer.File[]
|
||||||
): Promise<any> {
|
): Promise<any> {
|
||||||
|
|||||||
Reference in New Issue
Block a user