Skip to content

Commit

Permalink
Fixed version parameters for DeleteDocument (#2048)
Browse files Browse the repository at this point in the history
* Fixes Issue #2046

* Fixes Issue #2046

* Update CHANGELOG.md

Co-authored-by: François-Xavier de Guillebon <deguif@gmail.com>

Co-authored-by: François-Xavier de Guillebon <deguif@gmail.com>
  • Loading branch information
pheyse24 and deguif committed Dec 18, 2021
1 parent 4fa51f1 commit 4124d20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Removed
### Fixed
* Fixed version parameters for DeleteDocument by @pheyse24 [#2048](https://github.com/ruflin/Elastica/pull/2048)
### Security

## [7.1.3](https://github.com/ruflin/Elastica/compare/7.1.2...7.1.3)
Expand Down
3 changes: 2 additions & 1 deletion src/Bulk/Action/DeleteDocument.php
Expand Up @@ -19,7 +19,8 @@ protected function _getMetadata(AbstractUpdateAction $action): array
return $action->getOptions([
'_index',
'_id',
'version',
'if_seq_no',
'if_primary_term',
'version_type',
'routing',
'parent',
Expand Down

0 comments on commit 4124d20

Please sign in to comment.