Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

Commit f17c534

Browse files
committed
Fix missing parameter
1 parent ec088ac commit f17c534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModelHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function getIndicesTmp(Model $model)
103103
}
104104

105105
$indices = array_map(function ($index_name) use ($model) {
106-
return $this->algolia->initIndex($this->getFinalIndexName($index_name).'_tmp');
106+
return $this->algolia->initIndex($this->getFinalIndexName($model, $index_name).'_tmp');
107107
}, $indicesName);
108108

109109
return $indices;

0 commit comments

Comments
 (0)