From 93ea133d8abd332f5a238f4e1cd64ab572d03d4c Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Wed, 1 Jul 2026 13:26:37 -0400 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 6e2c858f..9a130dc2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -159,7 +159,7 @@ const callSaveSession = !useMainStore().order?.referralNumber && (to.name === is if (callSaveSession) { // Forcing a synchronous savesession call here to create the referral for the first time. // AfterEach does not support synchronous calls that block navigation. Which is why this is in the beforeEach method. - // This only needs to be called once in a certain location, all other saveession calls are async in afterEach (except the last one on order submission) + // This only needs to be called once in a certain location, all other saveSession calls are async in afterEach (except the last one on order submission) // NOTE: This call should be creating the referral number. After this point in the site flow, referral number is critical for several pieces of logic and logging. // Thereforce, we want to force a bailout here if it errors out. showIssLoadingModal(true);