algolia / algoliasearch-client-java

⚡️ A fully-featured and blazing-fast Java API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/java/
MIT License
47 stars 33 forks source link

fix: copySettings func not calling expected base func #768

Closed Ant-hem closed 2 years ago

Ant-hem commented 2 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? no

Describe your change

The copySettings method was calling base method copyIndex instead of copySettings, leading to unexpected behavior: all scopes being copied instead of only the settings.

Ant-hem commented 2 years ago

It was reported by a user :)