Skip to content

Commit f8ba019

Browse files
committed
[sc-11931] remove duplicated decodeURIComponent
1 parent 389465c commit f8ba019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apifetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ const executeApiFetch: ExecuteApiFetch = function (
490490
apiEndpoint = 'https://' + apiHostname + '/v1/' + apiPath + '/' + sitekey;
491491
const term = type === 'search' ? decodeURIComponent(keyword) : keyword;
492492
requestPayloadObject = {
493-
term: decodeURIComponent(term),
493+
term,
494494
...requestPayloadObject
495495
};
496496
apiInstance

0 commit comments

Comments
 (0)