fix: 🐛 a bug where cache wasnt being set properly

This commit is contained in:
amianthus
2026-03-09 13:04:06 +00:00
parent 4028dab8e4
commit 5ba6801c8f

View File

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