algolia/algoliasearch-client-node

deleteObject() deleted whole index

Closed this issue · 2 comments

image

algoliasearch-node.js:589
There is a check for (objectID.length === 0), then the objectID should be an array,
but the index was deleted completely after this call,
rather than deleting a single object

We'll also check if our API could reject such "/" terminated URLs.

I've just published a new 1.5.7 version of the node client. Thank you for the report @Bossa573