diff --git a/lib/shopware/api-extended.ts b/lib/shopware/api-extended.ts index 745325bd5..07845b473 100644 --- a/lib/shopware/api-extended.ts +++ b/lib/shopware/api-extended.ts @@ -59,7 +59,7 @@ export type ExtendedCrossSellingElementCollection = Omit< 'products' > & { products?: ExtendedProduct[]; -}; +}[]; export type ExtendedCategory = Omit & { children?: ExtendedCategory[]; diff --git a/lib/shopware/index.ts b/lib/shopware/index.ts index a6f6d5293..717380b19 100644 --- a/lib/shopware/index.ts +++ b/lib/shopware/index.ts @@ -207,7 +207,6 @@ export async function getProductRecommendations(productId: string): Promise