Skip to content

Commit

Permalink
TASK: Remove include_type_name default parameter
Browse files Browse the repository at this point in the history
The parameter was previously deprecated and removed in elasticsearch 8
  • Loading branch information
daniellienert committed Nov 1, 2023
1 parent d9ea76c commit 3a7e7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function apply(): Response
{
$content = json_encode($this->asArray());

return $this->type->request('PUT', '/_mapping', ['include_type_name' => 'false'], $content);
return $this->type->request('PUT', '/_mapping', [], $content);
}

/**
Expand Down

0 comments on commit 3a7e7d0

Please sign in to comment.