diff --git a/packages/sfcc/src/api/operations/get-all-product-paths.ts b/packages/sfcc/src/api/operations/get-all-product-paths.ts index 6a9ec7a0b..85dd4f597 100644 --- a/packages/sfcc/src/api/operations/get-all-product-paths.ts +++ b/packages/sfcc/src/api/operations/get-all-product-paths.ts @@ -32,9 +32,6 @@ export default function getAllProductPathsOperation({ if (searchResults.total) { products = normalizeSearchProducts(searchResults.hits) - } else { - // TODO: handle this better? - console.log('No results for search') } return { diff --git a/packages/sfcc/src/api/operations/get-all-products.ts b/packages/sfcc/src/api/operations/get-all-products.ts index 69b4538c4..4cb3db8d9 100644 --- a/packages/sfcc/src/api/operations/get-all-products.ts +++ b/packages/sfcc/src/api/operations/get-all-products.ts @@ -30,10 +30,8 @@ export default function getAllProductsOperation({ if (searchResults.total) { products = normalizeSearchProducts(searchResults.hits) - } else { - // TODO: handle this better? - console.log('No results for search') } + return { products: products, }