From 5ba6801c8f2bd55b1a814bd7cc5e345f32bc5816 Mon Sep 17 00:00:00 2001 From: amianthus <49116958+SirTenzin@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:04:06 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20a=20bug=20where=20cache?= =?UTF-8?q?=20wasnt=20being=20set=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cusUtils/fullCustomerCacheUtils/getCachedFullCustomer.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/internal/customers/cusUtils/fullCustomerCacheUtils/getCachedFullCustomer.ts b/server/src/internal/customers/cusUtils/fullCustomerCacheUtils/getCachedFullCustomer.ts index 858b04f24..0ced01104 100644 --- a/server/src/internal/customers/cusUtils/fullCustomerCacheUtils/getCachedFullCustomer.ts +++ b/server/src/internal/customers/cusUtils/fullCustomerCacheUtils/getCachedFullCustomer.ts @@ -150,7 +150,6 @@ export const getCachedFullCustomer = async ({ if (entityId) { fullCustomer.entity = fullCustomer.entities?.find((e) => e.id === entityId); - if (!fullCustomer.entity) return undefined; // might need to create? } else { fullCustomer.entity = undefined; }