File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Services/InfoProviderSystem/Providers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ public function searchByKeywordsBatch(array $keywords): array
374374 // Direct detail API call for C-codes
375375 $ responses [$ keyword ] = $ this ->lcscClient ->request ('GET ' , self ::ENDPOINT_URL . "/product/detail " , [
376376 'headers ' => [
377- 'Cookie ' => new Cookie ('currencyCode ' , $ this ->currency )
377+ 'Cookie ' => new Cookie ('currencyCode ' , $ this ->settings -> currency )
378378 ],
379379 'query ' => [
380380 'productCode ' => trim ($ keyword ),
@@ -384,7 +384,7 @@ public function searchByKeywordsBatch(array $keywords): array
384384 // Search API call for other terms
385385 $ responses [$ keyword ] = $ this ->lcscClient ->request ('GET ' , self ::ENDPOINT_URL . "/search/global " , [
386386 'headers ' => [
387- 'Cookie ' => new Cookie ('currencyCode ' , $ this ->currency )
387+ 'Cookie ' => new Cookie ('currencyCode ' , $ this ->settings -> currency )
388388 ],
389389 'query ' => [
390390 'keyword ' => $ keyword ,
You can’t perform that action at this time.
0 commit comments