algoliasearch-client-ruby icon indicating copy to clipboard operation
algoliasearch-client-ruby copied to clipboard

fix: always remove createIfNotExists from request options

Open DevinCodes opened this issue 4 years ago • 0 comments

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.

DevinCodes avatar Jul 02 '21 08:07 DevinCodes