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

Commit

Permalink
Fix missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiloc committed Oct 27, 2015
1 parent ec088ac commit f17c534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModelHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getIndicesTmp(Model $model)
}

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

return $indices;
Expand Down

0 comments on commit f17c534

Please sign in to comment.