diff --git a/src/router/index.js b/src/router/index.js index 5b4a9adde..bcc738be3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -75,17 +75,22 @@ const routes = [ if (!to.query.fmgPage?.startsWith("payment")) { //payment pages used to return from safelitehop so exclude here // Remove the parameter after quote release - + // for testing end to end locally, see if there is a referralNumber on the querystring // that could have changed in heritage and then stick it in the store and then update the cookie // so load-session runs properly. this can be removed when heritage goes away - const referralNumber = getQuerystringParameter(queryStrings.REFERRAL_NUMBER); + const referralNumber = getQuerystringParameter( + queryStrings.REFERRAL_NUMBER + ); const parentAccount = getQuerystringParameter(queryStrings.PARENT_ACCOUNT); const correlationId = getQuerystringParameter(queryStrings.CORRELATION_ID); if (referralNumber) { store.commit(storeMutations.UPDATE_REFERRAL_NUMBER, referralNumber); store.commit(storeMutations.UPDATE_PARENT_ACCT_NUMBER, parentAccount); - store.commit(storeMutations.UPDATE_REFERRAL_CORRELATION_ID, correlationId); + store.commit( + storeMutations.UPDATE_REFERRAL_CORRELATION_ID, + correlationId + ); updateOrCreateFunnelCookie(); }