From 2d95730a10df1ce77499248451fe30f5c120cdcb Mon Sep 17 00:00:00 2001 From: Frederic Beaudoin Date: Fri, 25 Oct 2024 15:57:40 -0400 Subject: [PATCH] fix(headless): include perPage when building commerce recommendations requests (#4577) https://coveord.atlassian.net/browse/KIT-3674 --- .../src/api/commerce/recommendations/recommendations-request.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/headless/src/api/commerce/recommendations/recommendations-request.ts b/packages/headless/src/api/commerce/recommendations/recommendations-request.ts index a104754efcd..41711e1a8ea 100644 --- a/packages/headless/src/api/commerce/recommendations/recommendations-request.ts +++ b/packages/headless/src/api/commerce/recommendations/recommendations-request.ts @@ -26,6 +26,7 @@ const prepareRecommendationsRequestParams = ( country, currency, page, + perPage, } = req; return { slotId, @@ -36,5 +37,6 @@ const prepareRecommendationsRequestParams = ( country, currency, page, + perPage, }; };