Skip to content

Commit 44e5319

Browse files
authored
Update SecuredAPI key logic
1 parent 84069b4 commit 44e5319

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Block/Configuration.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ public function getConfiguration()
196196
'apiKey' => $algoliaHelper->generateSearchSecuredApiKey(
197197
$config->getSearchOnlyAPIKey(),
198198
array_merge(
199-
$config->getAttributesToRetrieve($customerGroupId),
200199
$attributesToFilter
201200
)
202201
),
@@ -381,4 +380,4 @@ protected function getLandingPageConfiguration()
381380
{
382381
return $this->isLandingPage() ? $this->getCurrentLandingPage()->getConfiguration() : json_encode([]);
383382
}
384-
}
383+
}

0 commit comments

Comments
 (0)