Skip to content

Commit 828b7c7

Browse files
committed
MAGE-1260: use entity index options builders
1 parent 41c52f3 commit 828b7c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Helper/Entity/ProductHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function setSettings(
354354
$this->algoliaConnector->copySynonyms($indexOptions, $indexTmpOptions);
355355
$this->algoliaConnector->waitLastTask($storeId);
356356
$this->logger->log('
357-
Copying synonyms from production index to "' . $indexNameTmp . '" to not erase them with the index move.
357+
Copying synonyms from production index to "' . $indexTmpOptions->getIndexName() . '" to not erase them with the index move.
358358
');
359359
} catch (AlgoliaException $e) {
360360
$this->logger->error('Error encountered while copying synonyms: ' . $e->getMessage());
@@ -364,7 +364,7 @@ public function setSettings(
364364
$this->algoliaConnector->copyQueryRules($indexOptions, $indexTmpOptions);
365365
$this->algoliaConnector->waitLastTask($storeId);
366366
$this->logger->log('
367-
Copying query rules from production index to "' . $indexNameTmp . '" to not erase them with the index move.
367+
Copying query rules from production index to "' . $indexTmpOptions->getIndexName() . '" to not erase them with the index move.
368368
');
369369
} catch (AlgoliaException $e) {
370370
if ($e->getCode() !== 404) {

0 commit comments

Comments
 (0)