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; }