Revert "make final deductible call only if successful policy lookup"

This reverts commit 9465191553.
This commit is contained in:
Katie Kroell 2023-11-16 10:22:07 -05:00
parent ceb47cb810
commit 6667fdce77

View file

@ -147,10 +147,7 @@ export default {
// Call APIs // Call APIs
const cmsContentPromise = fetchCmsContentForPage(to?.query?.issPage); const cmsContentPromise = fetchCmsContentForPage(to?.query?.issPage);
const supportingItemsPromise = await useMainStore().getSupportingItems(); const supportingItemsPromise = await useMainStore().getSupportingItems();
let finalDeductiblePromise = ''; const finalDeductiblePromise = await useMainStore().getFinalDeductible();
if (useMainStore().order.policyLookupSuccessful) {
finalDeductiblePromise = await useMainStore().getFinalDeductible();
}
// Settle promises and get results // Settle promises and get results
const promiseResultMap = [ const promiseResultMap = [