From 4aa7c1d5f9ecd3c29cff11daf89577c9e070c3ce Mon Sep 17 00:00:00 2001 From: Paul Hachmang Date: Mon, 14 Oct 2024 17:32:35 +0200 Subject: [PATCH] Fix compatibility with non Adobe Commerce projects --- packages/algolia-products/mesh/algoliaHitToMagentoProduct.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/algolia-products/mesh/algoliaHitToMagentoProduct.ts b/packages/algolia-products/mesh/algoliaHitToMagentoProduct.ts index 477a01b442..bf22ed6fbe 100644 --- a/packages/algolia-products/mesh/algoliaHitToMagentoProduct.ts +++ b/packages/algolia-products/mesh/algoliaHitToMagentoProduct.ts @@ -122,7 +122,7 @@ export function algoliaHitToMagentoProduct( hit: Algoliahit, storeConfig: GetStoreConfigReturn, customerGroup: number, -): ProductsItemsItem | null { +): (ProductsItemsItem & { staged: boolean }) | null { const { objectID, additionalProperties } = hit if (!assertAdditional(additionalProperties)) return null