Skip to content

Commit

Permalink
fix: stupid error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaspar Gupta committed Jul 5, 2018
1 parent 497c419 commit 02deddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Mappings/MappingMigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected function putMapping(SplFileInfo $mapping):void
{
$index = $this->getMappingName($mapping->getFileName(), true);

$this->client->build()->indices()->create([
$this->client->indices()->create([
'index' => $index,
'body' => json_decode($mapping->getContents(), true),
]);
Expand Down

0 comments on commit 02deddb

Please sign in to comment.