From a5fcc3d394bfaab2ba38b0a94daa310acc5f9e10 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Mon, 12 Jan 2026 12:37:17 -0500 Subject: [PATCH] CASH-2025: make sure oem endorsement is not null for api call --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index 2fa749968..8faf39f73 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1859,7 +1859,7 @@ export const actions = { const serviceType = order.serviceLocation?.appointmentType; const referralSeqNumber = order.referralSequenceNumber; const parentAccountNumber = applicationConfig.CASH_PARENT_ACCOUNT_NUMBER; - const oemEndorsementFlag = order.damage.installOemGlass; + const oemEndorsementFlag = order.damage.installOemGlass || false; // create a new array to avoid mutating state const glassArrayForPayload = convertGlassPieceNamingForApi(glassArray); const resultsArrayForPayload = convertResultsForApi(resultsArray);