algoliasearch-client-ruby
algoliasearch-client-ruby copied to clipboard
fix: always remove createIfNotExists from request options
| Q | A |
|---|---|
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
Describe your change
This ensures we always remove createIfNotExists from our request options. Currently, if you pass it as false, this check fails. Because of that, we're trying to send a partialUpdateObjectNoCreate operation, which doesn't accept the createIfNotExists parameter, even if it's false. By removing the parameter from our request options we prevent this from happening.