algolia / algoliasearch-zendesk

Integrate Algolia within your Zendesk Help Center in minutes.
https://community.algolia.com/zendesk
Other
21 stars 12 forks source link

Incorrect default argument type for indexName on `algoliasearchZendeskHC` #180

Closed nicholaskillin closed 1 year ago

nicholaskillin commented 1 year ago

We just had our Algolia search modal blow up with the latest update. We were not passing in an indexName to algoliasearchZendeskHC. We started getting an error saying:

`options.indexName` should be <string>, received boolean

That default should probably be a string instead of a bool.

millotp commented 1 year ago

Hey, thanks for the report, indeed their was a bug in the default value, this is fixed in the latest version 2.31.1