philippkueng / node-neo4j

Neo4j REST API wrapper for Node.js
MIT License
211 stars 44 forks source link

added 204 to the valid response cases for listing indexes. #39

Closed bibby closed 9 years ago

bibby commented 10 years ago

This tripped me up for a moment, Listing indexes when there aren't any returns a 204, which was handled as an error case when it isn't. In my use case (scaffolding, frequently rebuilding from scratch), the empty object is desired.

philippkueng commented 9 years ago

Thanks @bibby for your PR, sorry you had to wait that long.

Cheers Phil