From 071a3a7b4f9e5fbf890f3577802c7ed302d5c9c0 Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Tue, 23 Jun 2026 13:56:33 -0400 Subject: [PATCH] Added some comments. --- src/store/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 4688ec74..805a974b 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1617,8 +1617,10 @@ export const useMainStore = defineStore({ } }); }, - async loadSession(duplicate) { - const { applicationUser, order } = this; + async loadSession(duplicate) { + const { applicationUser, order } = this; + // NOTE: We are re-using the current user's saved session id (this is required on the load-session call). + // This should be ok, but should probably validate. const response = await globalMethods.callHttpClient({ method: endpoints.LoadSession.method, endpoint: endpoints.LoadSession.url,