Skip to content

Commit 87804ae

Browse files
authored
Merge pull request #1376 from algolia/MAGE-703
Update SecuredAPI key logic
2 parents 8960bbb + 5aff17b commit 87804ae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Block/Configuration.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,7 @@ public function getConfiguration()
196196
'indexName' => $coreHelper->getBaseIndexName(),
197197
'apiKey' => $algoliaHelper->generateSearchSecuredApiKey(
198198
$config->getSearchOnlyAPIKey(),
199-
array_merge(
200-
$config->getAttributesToRetrieve($customerGroupId),
201-
$attributesToFilter
202-
)
199+
$attributesToFilter
203200
),
204201
'attributeFilter' => $attributesToFilter,
205202
'facets' => $facets,

0 commit comments

Comments
 (0)