Skip to content

Commit 1bc05a2

Browse files
committed
[sc-9613] remove itemIdPath
1 parent 8bea676 commit 1bc05a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/apifetch.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ var executeApiFetch = function(apiHostname, sitekey, type, settings, cb, fuzzyRe
169169

170170
else if (type === 'recommend') {
171171
if (recommendOptions.type === 'RELATED_ITEMS') {
172-
qs = settingToQueryParam(recommendOptions.itemId, 'itemId') +
173-
settingToQueryParam(recommendOptions.itemIdPath, 'itemIdPath');
172+
qs = settingToQueryParam(recommendOptions.itemId, 'itemId');
174173
apiPath = 'recommendations/index/' + sitekey + '/block/' + recommendOptions.blockId + '?' + qs;
175174
} else if (recommendOptions.type === 'FREQUENTLY_BOUGHT_TOGETHER') {
176175
qs = settingToQueryParam(recommendOptions.itemId, 'itemId');

0 commit comments

Comments
 (0)