From ef410f4fcb2f3a5378a86f988d670cb40e52da41 Mon Sep 17 00:00:00 2001 From: brydon1 Date: Mon, 24 Jul 2023 14:41:35 -0400 Subject: [PATCH] Fixing bug with policyLookupSuccessful being set --- 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 dcb0dfcf..dcc16673 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -363,7 +363,7 @@ export const useMainStore = defineStore({ correlationId: placeHolderCorrelationId } }).then((r) => { - const responsePolicy = response.policies?.[0]; + const responsePolicy = r.data.policies?.[0]; policy.policyLookupSuccessful = !!responsePolicy; return r; });