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

Commit 57eeb94

Browse files
committed
Fix missing parameter
1 parent a538a04 commit 57eeb94

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
@@ -104,7 +104,7 @@ public function getIndicesTmp(Model $model)
104104
}
105105

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

110110
return $indices;

0 commit comments

Comments
 (0)